Need layout help

Manuel Martín mmartin at ceyd.es
Tue Jan 16 11:55:17 PST 2007


Hi
Sizers to manage scrollwindows contents don't match very well.
Think a bit: should contents (such as buttons)
stay on the same position or scroll them?
Sizer to manage a scrollwindow is right.

I would do:
* set 2 panels childs of your frame
* set a horizontal boxsizer that manages both, or
   alternatively, set an OnSize event function to each
   panel that calculate the size remaining for the other
   panel and set new size for it.
* add wxScrolledWindow and buttons inside panels

Even try wxSplitterWindow
See samples

HTH
Manolo




More information about the wx-users mailing list