Hello Daniel,
Sample attached at the end. The sample pretty much
duplicates the
arrangement of sizers the application is using. If you
resize the frame
(horizontally, vertically, whatever), the
foldpanelbar should extend
sideways by about 7 pixels for every resize
event.
Thank you for the sample. What seems strange to me, is that
this behavior seems not related to FoldPanelBar, but with sizer, or at
least this is my impression.
I think I have fixed your problem, simply
by changing the lines:
hbox.Add(fpbpanel, 0, wx.EXPAND)
hbox.Add
(button, 1, wx.EXPAND)
With:
hbox.Add(fpbpanel, 1, wx.EXPAND)
hbox.Add
(button, 2, wx.EXPAND)
Please notice the proportion number. I have no
idea about this strange behavior, it may have something to do with
FoldPanelBar, but I am not sure about it.
Could you please try the
attached code and see if it suits your needs?
Thank you.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77
test.py (1.63 KB)