alex wrote:
> I  know that using sizers is the preferred and recommended way to go 
> .... but sometimes it's easier not to do that. So I wrote a tiny 
> non-sizer-based program, which works just fine.

Yes, definitely easier!

> but if I change one line
> 
>>         self.Top = 100
> to be
>>         self.Bottom = 100
> 
> I get the following traceback:


>   File "C:\Users\Alex\Documents\Programming\MyDabo\tiny-static.py", line 
> 13, in
> initProperties
>     self.Bottom = 100
>   File 
> "c:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\ui\dPemMixinBase
> .py", line 182, in _setBottom
>     self.Top = int(bottom) - self.Height
>   File 
> "c:\python25\lib\site-packages\Dabo-0.8.4-py2.5.egg\dabo\ui\uiwx\dPemMixi
> n.py", line 2052, in _getHeight
>     return self.GetSize()[1]
>   File "C:\Python25\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", 
> line 8637
> , in GetSize
>     return _core_.Window_GetSize(*args, **kwargs)
> TypeError: in method 'Window_GetSize', expected argument 1 of type 
> 'wxWindow con
> st *'

Thanks for the report. The problem is that Bottom and Right will need the 
existing 
Height or Width to calculate, and it is too early in the init process. I'll 
have a 
fix shortly.

Paul


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to