Hi, there
I would like to have a button with text (or label) at the
bottom of bitmap and the bitmap should have some margin to the button’s top border. I have checked
demo and searched online, I found wx.button, wx.ToggleButton with its SetBitmap() method
can do it. But when I tried both I always got no any margin between the bitmap and the button’s top border. Is there any way
to adjust this margin?
I also know GenBitmapTextButton can have text, but it seems the text can only align up at the right of bitmap and it doesn’t have SetBitmap() to
change text’s position. is there way to
change the text to bitmap’s bottom and also have some margin between the bitmap
and the button’s top border?
I have attached file.
Thanks a lot
Eddy
button.py (976 Bytes)