Re: Help with wxEuphoria sizers
- Posted by mattlewis (admin) Apr 02, 2010
- 979 views
xfox26 said...
I'm having problems with te sizer thing...
Run the code below, and try resizing the window. Please someone tell me what I'm doing wrong!
The main thing is that you're setting the sizer to your frame instead of the panel inside the frame. Change the call to set_sizer():
set_sizer( win, vsize ) if object(fit_window( vsize, win )) then end if
Note the call to fit_window(). Basically, in some cases upon start up, sizers won't properly size everything.
Matt