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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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?