Button.SetBitmapMarigns not working when button is expanded

14 views
Skip to first unread message

Matt Kimberling

unread,
Jun 19, 2016, 4:00:38 PM6/19/16
to wxPython-users
I recently added a bitmap to a button in my Windows app. It appears but it's positioned at the far left edge.  I'd like it to be positioned next to the label.  I've found that SetBitmapMargins doesn't have any effect when the button was added to a sizer with Expand().Proportion(1).  I modified the attached Buttons.py demo and it shows the same behavior.  Is there a work around for this?

Thanks,
 Matt
Button.py
Reply all
Reply to author
Forward
0 new messages