View Full Version : [CLOSED] Ext.net v2 Beta release: Panel collapsed with CollapseMode="Mini" and Split="true"

Mar 16, 2012, 5:45 PM

I have a panel within a viewport.
This panel are collapsed, with collapsedmode="Mini" and split="true".
In DP1 version, no appears the bar in side of split bar. Now, appears a bar in side of split bar

When I expand the panel, the panels contained in this pane collapsable are not shown correctly.

I made a sample project.

<%@ Page Language="vb" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>SGE Web</title>
<form id="form1" runat="server">
<ext:ResourceManager ID="resManagerSGE" runat="server" />
<ext:Viewport ID="Viewport1" runat="server" Layout="BorderLayout">
<ext:Panel ID="panelLeft" runat="server" Region="East" Collapsible="true" Collapsed="true" CollapseMode="Mini" Split="true" HideCollapseTool="true" Layout="AccordionLayout" MinWidth="250" MaxWidth="500">
<ext:Panel ID="panelTasks" runat="server" title="Tarefas" Icon="NoteAdd" />
<ext:Panel ID="panelNotes" runat="server" title="Notas" Icon="Note"/>
<ext:Panel ID="panelMural" runat="server" title="Mural" Icon="NoteGo" Layout="FitLayout">
<ext:Panel ID="panelCenter" runat="server" Region="Center" Flex="1" layout="FitLayout" BodyPadding="6" >
<ext:TabPanel ID="tabWebExplorer" runat="server" Plain="true" Flex="1" Layout="FitLayout">
<ext:Panel runat="server" ID="paneMyPage" Title="MyPage" Icon="ApplicationHome">
<ext:TabScrollerMenu ID="TabScrollerMenu1" runat="server" PageSize="90" />
<ext:StatusBar runat="server" ID="stbSGE" Region="South" StatusAlign="Right">
<ext:ToolbarTextItem runat="server" ID="txtEmpresaLogada" Text="EmpresaLogada" />
<ext:ToolbarSeparator ID="ToolbarSeparator5" runat="server" />
<ext:ToolbarTextItem runat="server" ID="txtServerName" Text="ServerName" />
<ext:ToolbarSeparator ID="ToolbarSeparator2" runat="server" />
<ext:ToolbarTextItem runat="server" ID="txtDataBaseName" Text="DatabaseName" />
<ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server" />
<ext:ToolbarSeparator ID="ToolbarSeparator4" runat="server" />
<ext:ToolbarFill runat="server" ID="tbfill100" />
<ext:ToolbarSeparator ID="ToolbarSeparator3" runat="server" />
<ext:Button runat="server" ID="btnMural" Text="Mural" Icon="NoteGo" />
<ext:ToolbarSeparator ID="ToolbarSeparator6" runat="server" />
<ext:ToolbarTextItem ID="ToolbarTextItem1" runat="server" text="teste" />

Mar 16, 2012, 8:05 PM

Reproduced and investigating. Thanks for the report.

Mar 16, 2012, 9:37 PM
Yes, confirm. Collapse mode mini doesn't work at this time, we reported about it to Sencha
We will post to this topic when it will be fixed

Mar 16, 2012, 9:40 PM

Thanks, Vladimir.

May 01, 2012, 2:31 PM
Hi @supera,

The bug appears to be fixed. Here is the related thread on Sencha forums.

I have tested it with your example and it appears to be working correctly. But you need to set up Width for the East region, it's required.

May 02, 2012, 6:37 PM
Hi Daniil!

I get the last updates from http://svn.ext.net/premium/branches/2.0/... compile and test...

Works very fine...

thanks a lot.