main logo
Subject: Re: [dabo-users] dabo equivalent of this simple wxPython code?
Author: wccppp
Posted: 2007/01/31 12:53:15
 
View Entire Thread
New Search


After making changes to couple of lines, the dialog behaves almost the same
as the pure wxPython version when dragged. I noticed the OK, Cancel button
is not horizontally centered when form is dragged. Is it the intended
behavior? In the file dabo\ui\uiwx\dDialog.py where class dOkCancelDialog
is defined, I changed line 218 from
bs.append(buttonSizer, "x") to
bs.append(buttonSizer, "x", halign="center")
I thought this will keep the button horiz. centered. But didn't.

One more question, how do I set a title to the frame?

Thank you!


--
wcc


--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---


 
©2007 wccppp
<-- Prior Message New Search Next Message -->