Problems with GridBagSizer.
No, your problem is not with GridBagSizer, but with buttons itself.
Ordinary buttons, as I see can't change their so called "DefaultSize"
You could use also wx.BU_EXACTFIT, same buttons but smaller
Also you can remove negation of RESIZER flag for frame.
-WBR,
M.A.
···
On Tue, Oct 16, 2012 at 11:16 AM, Nikita <vakula.chem@gmail.com> wrote:
Hi everybody,
I'm quite new to wxpython and it seems to be very powerful tool for building
up GUI, but I have a question about GridBagSizer. Could you please tell me
how to adjust the size of the items that are placed inside GridBagSizer to
the size of the frame they are supposed to be on. I attached the file with
the sample: the buttons from 8 to 13 go beyond the frame, but what I want is
to make the size of the buttons automatically resize to fit the frame. Any
advices and suggestions are appreciated.Best regards,
Nikita