PDA

View Full Version : [CLOSED] Bug when using a BoxReorderer with a BoxSplitter



RCN
Jun 06, 2012, 12:15 PM
In the following example, when i select the Panel2 for reordering, the BoxSplitter1 goes for the bottom of Panel2 as shown in the following image.

Any idea to overcome this problem?



<ext:Window ID="Window1" runat="server" Width="250" Height="500" Title="VBox">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" DefaultMargins="0" />
</LayoutConfig>
<Items>
<ext:Panel ID="Panel1" runat="server" Region="Center" Flex="1" TitleCollapse="true"
Collapsible="true" Title="Panel 1" Html="EXT.NET">
</ext:Panel>
<ext:BoxSplitter ID="BoxSplitter1" runat="server" Collapsible="false" CollapseTarget="Next" />
<ext:Panel ID="Panel2" runat="server" Region="Center" Flex="1" TitleCollapse="true"
Collapsible="true" Title="Panel 2" Html="EXT.NET">
</ext:Panel>
</Items>
<Plugins>
<ext:BoxReorderer ID="BoxReorderer1" runat="server" />
</Plugins>
</ext:Window>

Daniil
Jun 06, 2012, 3:17 PM
Hi,

I would set up

TitleCollapse="false"
for both Panels to get it working.

RCN
Jun 06, 2012, 3:49 PM
Thank you Daniil, please mark it as resolved