Re: Help with wxEuphoria sizers

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu