Does FoldedPanelBar manage panels in only the vertical direction, or
also the horizontal direction?
I'd like to create essentially a few left-to-right panels and be able
to collapse each one individualy. I took the FoldedPanelBar demo,
stripped it down to essentials and only the Non-Collapsible case, and
changed the constructor from FPB_VERTICAL to FPB_HORIZONTAL, but it
still organized the panels top-to-bottom. In fact, the IsVertical()
call returns True regardless of the FPB_VERTICAL/HORIZONTAL setting.
It's a bug, thank you for spotting this. I'll look at it as soon as I
have some time.
Does FoldedPanelBar manage panels in only the vertical direction, or
also the horizontal direction?
I'd like to create essentially a few left-to-right panels and be able
to collapse each one individualy. I took the FoldedPanelBar demo,
stripped it down to essentials and only the Non-Collapsible case, and
changed the constructor from FPB_VERTICAL to FPB_HORIZONTAL, but it
still organized the panels top-to-bottom. In fact, the IsVertical()
call returns True regardless of the FPB_VERTICAL/HORIZONTAL setting.
It's a bug, thank you for spotting this. I'll look at it as soon as I
have some time.
I don't know if we have a terminology/communication problem, but the
demo
does not work for me according to what I think Horizontal and Vertical
should
be. (I'm using the Demo 2.9 and wxPython 2.9.2.4) So, to try to
explain this precisely:
I would think 'Horizontal' would mean that the 'panel divider' (that
blank 'button' that includes the Up or Down arrow would be horizontal,
dividing panels that are vertically stacked. So I would think
'Vertical' would mean that the 'panel divider' would be oriented
verically, with it's Up/Down arrows instead pointed Left/Right,
separating panels that are arranged left-to-right. Perhaps
'Horizontal' and 'Vertical' might be defined opposite to how I defined
them above, and if so I can see the logic.
In the FPB terminology, VERTICAL
···
On 11 December 2011 03:16, luvspython wrote:
But in any case, regardless of the Horizontal/Vertical selection under
the File menu (in the Collapsed demo), the arrangement displayed by
the demo is ALWAYS Horizontal by my definition, meaning the separated
panels are stacked vertically with the 'panel dividers' being very
short and very wide. That seems wrong. The only thing that changes
is the shape of the Frame. When Vertical is set, the frame is tall
and narrow; when Horizontal is set, the frame is short and wide, i.e.,
everything is the same as under Vertical, just wider.
On Dec 8, 2:41 pm, Andrea Gavana <andrea.gav...@gmail.com> wrote:
Hi,
On 8 December 2011 20:36, luvspython wrote:
> Werner,
> Thanks, I hadn't caught that. But I just took the latest
> FoldedPanelBar version from the SVN and problem still exists.
It works for me with the "Collapsed" demo of FoldPanelBar, switching
from vertical to horizontal using the sub-menus under the "File" menu.
I don't know if we have a terminology/communication problem, but the
demo
does not work for me according to what I think Horizontal and Vertical
should
be. (I'm using the Demo 2.9 and wxPython 2.9.2.4) So, to try to
explain this precisely:
I would think 'Horizontal' would mean that the 'panel divider' (that
blank 'button' that includes the Up or Down arrow would be horizontal,
dividing panels that are vertically stacked. So I would think
'Vertical' would mean that the 'panel divider' would be oriented
verically, with it's Up/Down arrows instead pointed Left/Right,
separating panels that are arranged left-to-right. Perhaps
'Horizontal' and 'Vertical' might be defined opposite to how I defined
them above, and if so I can see the logic.
In the FPB terminology, VERTICAL means that the panels are stacked
vertically one on top of the other. HORIZONTAL means that the panels
are one after the other horizontally (i.e., left-to-right).
But in any case, regardless of the Horizontal/Vertical selection under
the File menu (in the Collapsed demo), the arrangement displayed by
the demo is ALWAYS Horizontal by my definition, meaning the separated
panels are stacked vertically with the 'panel dividers' being very
short and very wide. That seems wrong. The only thing that changes
is the shape of the Frame. When Vertical is set, the frame is tall
and narrow; when Horizontal is set, the frame is short and wide, i.e.,
everything is the same as under Vertical, just wider.
What I said in my previous e-mails, is that the Collapsed demo for FPB
works for me using the SVN version of AGW on Windows 7, wxPython
2.9.2.4, Python 2.7. Have you tried the SVN version? Are you on a
different platform?