A.Rothe
28 Nov 2011, 1:48 AM
Hi,
I try to create the following:
* a ContentPanel A, which has a Borderlayout
* the panel A has on the region SOUTH two panels B and C
* B and C should be collapsible and have a split bar in the middle
* it should be possible to collapse B and I have the full panel C on the south of A
* it should be possible to collapse C and I have the full panel B on the south of A
* both panels B and C should not be collapsed at the same time
* I can resize B (it changes the width of C) and vice versa
The first try with a LayoutContainer on the south of A, which has also a BorderLayout, was not successful (setCollapsible(true) on B and C, setSplit(true) on C).
How can I solve that? At the moment I try to create my own ToolButtons which replace the panels B or C with a CollapsePanel. Is that the right way?
Thanks
André :-?
I try to create the following:
* a ContentPanel A, which has a Borderlayout
* the panel A has on the region SOUTH two panels B and C
* B and C should be collapsible and have a split bar in the middle
* it should be possible to collapse B and I have the full panel C on the south of A
* it should be possible to collapse C and I have the full panel B on the south of A
* both panels B and C should not be collapsed at the same time
* I can resize B (it changes the width of C) and vice versa
The first try with a LayoutContainer on the south of A, which has also a BorderLayout, was not successful (setCollapsible(true) on B and C, setSplit(true) on C).
How can I solve that? At the moment I try to create my own ToolButtons which replace the panels B or C with a CollapsePanel. Is that the right way?
Thanks
André :-?