Changing the text box slider colour and padding

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
panovrlover
Posts: 157
Joined: Thu Sep 17, 2009 7:39 pm

When adding a text box and activating the scroll ability, how can I change the scroll bar colour and also the padding? At the moment its the standard grey colour and the text sits right up to the scroll box. Thanks!
User avatar
Hopki
Gnome
Posts: 13015
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

HI,
The text box just uses the standard CSS.
What you can do is use the scroll area element, this gives you more options.
So make your text box the size it has to be, so a fixed size.
Then add that to the scroll area.

Or if you look at the HTML page you will see in the head section the scroll area CSS styling.
The only downside to this is with every output it will get overwritten, so output it once then edit the index.html page name to something like index_scroll.html.
Then always use this, so output, delete the index, HTML page, copy the index_scroll.html and rename it to index.html.

Or just wait until you have finished the tour and do it just before testing.
Regards,
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
panovrlover
Posts: 157
Joined: Thu Sep 17, 2009 7:39 pm

Makes perfect sense, thanks Hopki!
Post Reply