placing text and bitmap on a GenBitmapTextButton

Dag Wastberg wrote:

Hi I'm trying to use a GenBitmapTextButton in my app. It basically
works, but I don't like the default positioning of the text and
bitmap. What I want is the text left justifed and the bitmap right
justified. Is this possible using the basic GenBitmapTextButton or to
I have to write my own button?

Derive a class from GenBitmapTextButton and override _GetLabelSize and DrawLabel.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!