[wxPython-users] Expanding dialog only horizontal

Oswaldo Hernández listas at soft-com.es
Thu Jan 25 12:34:33 PST 2007


Eli Golovinsky escribió:
> Did you try frame.Fit()?
> 
> That should resize your frame to fit snugly around your controls.
> 
> 
> Or maybe I didn't understand what it is you want to do..
> 
> 

Sorry for my bad english.

dialog.SetSizeHints() is wat im looking for.

Thanks.


> Oswaldo Hernández wrote:
> 
>> Hello,
>>
>> I define a frame with sizers that only expand horizontal, but the 
>> dialog also expand vertical leaving a blank space under the widgets.
>>
>> How can make a dialog that only expand horizontal?
>>
>> Is the unique method bind EVT_SIZE and resize the dialog in code when 
>> the user try to expand vertical?
>>
>> Thanks.
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
> 
> 


-- 
*****************************************
Oswaldo Hernández
oswaldo (@) soft-com (.) es
*****************************************




More information about the wxpython-users mailing list