You might find a wx.GridBagSizer useful for this. The standard demo set has
a nice example that shows how you can have widgets span multiple cells,
make some cells growable, etc.
···
On Wed, Mar 8, 2017 at 9:27 AM, Boštjan Mejak <bostjan.xperia@gmail.com> wrote:
So, I've got this code mess that I think it can get a little bit tidier. I
have 5 elements that I want to layout on the panel, but I must use 3 sizers
to make it work.
This is the order:
element 1 element 2
element 3 element 4
element 5
Depending what you are going for, a GridSizer for the top 4 would work well.
But actually, nothing wrong with what you have.
-CHB
···
On Wed, Mar 8, 2017 at 9:27 AM, Boštjan Mejak bostjan.xperia@gmail.com wrote:
So, I’ve got this code mess that I think it can get a little bit tidier. I have 5 elements that I want to layout on the panel, but I must use 3 sizers to make it work.
This is the order:
element 1 element 2
element 3 element 4
element 5
You might find a wx.GridBagSizer useful for this. The standard demo set has a nice example that shows how you can have widgets span multiple cells, make some cells growable, etc.