PDA

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



supera
Mar 16, 2012, 5:45 PM
Hi!

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
3951

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

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>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="resManagerSGE" runat="server" />
<ext:Viewport ID="Viewport1" runat="server" Layout="BorderLayout">
<Items>
<ext:Panel ID="panelLeft" runat="server" Region="East" Collapsible="true" Collapsed="true" CollapseMode="Mini" Split="true" HideCollapseTool="true" Layout="AccordionLayout" MinWidth="250" MaxWidth="500">
<Items>
<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>
</Items>
</ext:Panel>
<ext:Panel ID="panelCenter" runat="server" Region="Center" Flex="1" layout="FitLayout" BodyPadding="6" >
<Items>
<ext:TabPanel ID="tabWebExplorer" runat="server" Plain="true" Flex="1" Layout="FitLayout">
<Items>
<ext:Panel runat="server" ID="paneMyPage" Title="MyPage" Icon="ApplicationHome">
</ext:Panel>
</Items>
<Plugins>
<ext:TabScrollerMenu ID="TabScrollerMenu1" runat="server" PageSize="90" />
</Plugins>
</ext:TabPanel>
</Items>
</ext:Panel>
<ext:StatusBar runat="server" ID="stbSGE" Region="South" StatusAlign="Right">
<Items>
<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" />
</Items>
</ext:StatusBar>
</Items>
</ext:Viewport>
</form>
</body>
</html>

Daniil
Mar 16, 2012, 8:05 PM
Hi,

Reproduced and investigating. Thanks for the report.

Vladimir
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

supera
Mar 16, 2012, 9:40 PM
Ok!

Thanks, Vladimir.

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

The bug appears to be fixed. Here is the related thread on Sencha forums.
http://www.sencha.com/forum/showthread.php?188414

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.

supera
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.