robo help 2019 text box + scroll bar
Copy link to clipboard
Copied
hi at all ...is there a way to insert a text box with the scroll bar or another object that contains text and / or images always with the scroll bar option?
I have tried with these options but no one give me the option to have the scroll bar at the bottom...
Copy link to clipboard
Copied
Exactly what you need to do depends on what you specifically want. For example, do you only want a scroll bar on the bottom? Do you want the scroll bar to always display or only when it's necessary? Is this a once off box or do you need to use this in many topics?
If you need to use this multiple places, then setting up a new div style would be the way to go. You can quite easily set it up to have scroll bars on both the side and bottom. At minimum, set either a height or width that is not 100%. It could be a smaller percentage value or a fixed pixel width. Then set the Overflow value (you'd either want scroll or auto, depending on whether you want permanent scroll bars or only when necessary).
If you only want a scroll bar on one side then you'd need to go into the code to set overflow-x or overflow-y instead, depending on which scroll bar you want.
Copy link to clipboard
Copied
thanks for the answer, but I would need to use the scroll bar only in certain points and modify the .css fle I think it can compromise the previous layou of my project ... so, in this case, should I act on the HTML of the topic?
Copy link to clipboard
Copied
If you give your div style a name (e.g. scrolling) then you can just apply that named style when you need the scroll bars on a specific div. If you don't want the scroll bars you just use the regular one provided in the menu.
If you do still want to manually change individual divs, then you'll need to switch to code view and add "overflow: scroll" into the style property (or overflow-x or overflow-y if you only want scroll bars on one axis).