PDA

View Full Version : [CLOSED] [#191] Portlet collapse broken after update from SVN



jchau
Apr 06, 2013, 1:34 AM
This been working fine but got latest a couple of days ago and it is now broken. If you collapse a portlet, UI looks weird and there's no way to expand it back.



<body>
<form id="Form1" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" ScriptMode="Debug" Theme="Gray"
DisableViewState="true" />
<ext:Viewport ID="Viewport1" runat="server" Layout="FitLayout">
<Items>
<ext:Portal runat="server">
<Items>
<ext:PortalColumn runat="server">
<Items>
<ext:Portlet runat="server" Title="Test" MinHeight="100" Collapsible="true" Html="Test Test Test">
<Items>
</Items>
</ext:Portlet>
</Items>
</ext:PortalColumn>
</Items>
</ext:Portal>
</Items>
</ext:Viewport>
</form>
</body>

Baidaly
Apr 06, 2013, 2:44 AM
Hello!

You should use Height instead of MinHeight.

jchau
Apr 07, 2013, 11:28 PM
I need to use MinHeight because the content can have a height higher than what I specified for MinHeight. And setting minheight has nothing to do with portlet collapsing...

jchau
Apr 08, 2013, 12:02 AM
This thread solved my issue. This is still a legit bug with minheight but at least I have a workaround now.

http://www.sencha.com/forum/showthread.php?260240

Daniil
Apr 08, 2013, 6:53 AM
Hello,

I would also considered it a bug. A Portal uses a Column layout. My test case here covers this case as well.
http://www.sencha.com/forum/showthread.php?260680

Let's wait what Sencha think about this issue.

Daniil
Apr 08, 2013, 4:22 PM
Sencha opened a bug. We created an Issue to track this defect.
https://github.com/extnet/Ext.NET/issues/191

Baidaly
May 30, 2013, 6:26 AM
The issue appears to be fixed in the SVN trunk. Please update.