How to get rid of ugly gap?

Mac OSX specific forum
User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

How to get rid of ugly gap?

Post 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
PB 5.73 on Windows 10 & OS X High Sierra
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8425
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: How to get rid of ugly gap?

Post 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!
BERESHEIT
Post Reply