Please forgive me if this has already been suggested, but
I would like it if GenButton allowed me to specify a text alignment.
We are implementing this for now by subclassing GenButton and
overriding DrawLabel() so that the last line uses dx instead of
(width-tw)/2+dx for the x coordinate.
I would send this directly to the bug database (and check if this
is requested/planned already), but the trac instance seems to be done.
I get a Python stack trace when I visit the URL.
Thanks!
Jason Dagit
PS Sorry if you get this twice, I think my first send was blocked so this is a resend.
Software Developer
PTV America, Inc.
9755 SW Barnes Road, Suite 550
Portland, OR 97225
503-297-2556 ext 2209
503-297-2230 (fax) www.ptvamerica.com
Please forgive me if this has already been suggested, but I would like it if GenButton allowed me to specify a text alignment. We are implementing this for now by subclassing GenButton and overriding DrawLabel() so that the last line uses dx instead of (width-tw)/2+dx for the x coordinate.
I would accept a patch that made the button classes use the alignment flags for calculating where to put the label.
I would send this directly to the bug database (and check if this is requested/planned already), but the trac instance seems to be done. I get a Python stack trace when I visit the URL.
When that happens it usually recycles itself after a few minutes, so just try again.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!