How to get rid of ugly gap?
Posted: Sun Jan 17, 2016 6:17 am
I create editor gadgets inside a scroll area gadget as shown below:
This leaves an ugly gap of at least 5 pixels between the vertical scroll bar of the scroll area and the right border of the editor gadgets. This is on Windows 10, current PB 64 bit.
If I add to the inner width, the editor gadgets remain identical in width - they just lose their right border; so something is truncating here....
Any ideas on how to overcome this?
Thks,
Kai
Code: Select all
OpenGadgetList(ScrollArea)
ed = EditorGadget(#PB_Any, 0, top, GetGadgetAttribute(ScrollArea, #PB_ScrollArea_InnerWidth), 40, #PB_Editor_WordWrap)This leaves an ugly gap of at least 5 pixels between the vertical scroll bar of the scroll area and the right border of the editor gadgets. This is on Windows 10, current PB 64 bit.
If I add to the inner width, the editor gadgets remain identical in width - they just lose their right border; so something is truncating here....
Any ideas on how to overcome this?
Thks,
Kai