Sep 25, 2013, 9:51 AM
[CLOSED] Stretching Portlets to fix the whole screen (100% screen height and width)
Hi,
Today I am trying to replicate a behavior that worked fine on the previous Ext.Net library. I mean stretching Portal modules so that they fit the whole space available on the screen.
Is there a way to make it work?
Thank you!
Today I am trying to replicate a behavior that worked fine on the previous Ext.Net library. I mean stretching Portal modules so that they fit the whole space available on the screen.
<ext:Viewport ID="Viewport1" runat="server" Layout="FitLayout">
<Items>
<ext:Portal ID="Portal1" runat="server" Layout="HBoxLayout">
<Items>
<ext:PortalColumn ID="PortalColumn1" runat="server" Layout="VBoxLayout" Flex="1">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:Portlet ID="Portlet1" runat="server" Title="Portlet A" Flex="1" />
<ext:Portlet ID="Portlet2" runat="server" Title="Portlet B" Flex="2" />
</Items>
</ext:PortalColumn>
<ext:PortalColumn ID="PortalColumn2" runat="server" Layout="VBoxLayout" Flex="2">
<LayoutConfig>
<ext:VBoxLayoutConfig Align="Stretch" />
</LayoutConfig>
<Items>
<ext:Portlet ID="Portlet3" runat="server" Title="Portlet C" Flex="1" />
<ext:Portlet ID="Portlet4" runat="server" Title="Portlet D" Flex="2" />
</Items>
</ext:PortalColumn>
</Items>
</ext:Portal>
</Items>
</ext:Viewport>
This behavior was possible a year ago (I found this old post discussing the same issuehttp://forums.ext.net/archive/index.php?t-20002.html), but for some reasons today this works only horizontally.Is there a way to make it work?
Thank you!
Last edited by Daniil; Oct 04, 2013 at 5:49 AM.
Reason: [CLOSED]