Page 1 of 1

How to get rid of ugly gap?

Posted: Sun Jan 17, 2016 6:17 am
by kpeters58
I create editor gadgets inside a scroll area gadget as shown below:

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

Re: How to get rid of ugly gap?

Posted: Thu Feb 25, 2016 7:14 am
by netmaestro
kpeters58 wrote:This is on Windows 10, current PB 64 bit.
I guess my question would be why you're asking this on the OSX board, and also could you possibly post enough code to be runnable showing the issue as I'm interested in knowing whether it also shows up on MacOS. Thanks!