[wxPython-users] Layout witout resize don't work ?

Oswaldo Hernández listas at soft-com.es
Fri Jun 29 10:03:16 PDT 2007


Gre7g Luterman escribió:
> --- Oswaldo Hernández <listas at soft-com.es> wrote:
> 
>> Hello all,
>>
>> On a Frame I want show/hide a label. To do it, i
>> create a label on __init__, put on the ziser and 
>> hide it.
>>
>> When i need show the label i do:
>> self.label.Show()
>> self.Layout()
> 
> Try self.FitInside() instead.  I think that works.
> 

No, no works. Until the Frame is resized with the mouse, the label is showed in wrong position.

Thanks.

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




More information about the wxpython-users mailing list