Help,
I’m relatively new to Python and wxPython. I’m
attempting to develop a movie catalogue and am experimenting around with AUI
frames before beginning to hook it all up to a database. The problem I am
grappling with is:
-
I have set a minimum size for the aui frame of 800 by
600 (not sure if this contributes to the problem);
-
I have a panel permanently docked at the bottom of the aui
frame which contains a list control;
- If there is no other docked panel; and
- You resize the aui frame with the mouse; then
-
The list control (or it’s parent panel, not sure
which) suddenly expands to the full space of the aui frame.
If you then open another panel, i.e. file > open >
etc., then the list control panel shrinks back to its proper size and place.
I have attached the src if anybody cares to have a look and
provide some advice (most welcome).
Please note: The data shown in the list and tree control is
hard-coded for testing and I am aware of the ‘key’ problem in the
list control. I’m just keen to see if someone can explain why the list
control panel behaves the way it does.
Many thanks in advance.
src.zip (17.6 KB)
FYI, here on ubuntu / wx 2.8.4 it starts with the list taking the full space and it gets the correct position when settings panel is shown.
Rob Maguire escribió:
···
Help,
I’m relatively new to Python and wxPython. I’m attempting to develop a movie catalogue and am experimenting around with AUI frames before beginning to hook it all up to a database. The problem I am grappling with is:
* I have set a minimum size for the aui frame of 800 by 600 (not
sure if this contributes to the problem);
* I have a panel permanently docked at the bottom of the aui frame
which contains a list control;
* If there is no other docked panel; and
* You resize the aui frame with the mouse; then
* The list control (or it’s parent panel, not sure which) suddenly
expands to the full space of the aui frame.
If you then open another panel, i.e. file > open > etc., then the list control panel shrinks back to its proper size and place.
I have attached the src if anybody cares to have a look and provide some advice (most welcome).
Please note: The data shown in the list and tree control is hard-coded for testing and I am aware of the ‘key’ problem in the list control. I’m just keen to see if someone can explain why the list control panel behaves the way it does.
Many thanks in advance.
------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org