Space to the left of RowColSizer

Hi,

I am using a RowColSizer inside a wxScrolled window. I have noticed that it
positions the subwindows (wxGrid, wxButtons, etc) a handful of pixels in
from the left and down from the top (but flushed to the right hand side and
bottom). This is quite annoying cosmetically. Does anyone knows how to get
the sizer to position the subwindows flushed left/top?

Thanks in advance
Robert Cheung

Platform and version? Can you provide a small sample of this? In the examples I am looking at there appears to be only 1 pixel indent from the left and top, it sounds like you are seeing more. The right and bottom will be controlled by the virtual size settings of the scrolled window, which in recent versions the sizer will set to match the needs of the sizer (but there are ways to override that if you want to provide some extra space.)

ยทยทยท

Robert.Cheung@csiro.au wrote:

Hi,

I am using a RowColSizer inside a wxScrolled window. I have noticed that it
positions the subwindows (wxGrid, wxButtons, etc) a handful of pixels in
from the left and down from the top (but flushed to the right hand side and
bottom). This is quite annoying cosmetically. Does anyone knows how to get
the sizer to position the subwindows flushed left/top?

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!