PDA

View Full Version : [CLOSED] space issue



speedstepmem4
Jun 24, 2014, 11:26 AM
We are using HTML editor inside of Tab panel. HTML editor is not struched to panel in height.

please review the code and provide the solution.



<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<ext:ResourceManager ID="ScriptManager1" runat="server" Namespace="Dim1">
</ext:ResourceManager>
<ext:TabPanel ID="TabPanel1" runat="server" Region="Center">
<Items>
<ext:Panel ID="Tab1" runat="server" Border="false" Header="true" Title="panel1">
<Items>
<ext:Panel ID="pnlComm" runat="server" Height="250" Layout="AnchorLayout" Border="false">
<Items>
<ext:HtmlEditor ID="HtmlEdr1" runat="server" ReadOnly="true"
AnchorHorizontal="100%" AnchorVertical="100%">
</ext:HtmlEditor>
</Items>
</ext:Panel>
</Items>
</ext:Panel>
<ext:Panel ID="Tab3" Layout="AnchorLayout" runat="server" Title="panel2" Border="false">
<Items>
<ext:HtmlEditor ID="HtmlEdr3" runat="server" ReadOnly="true"
AnchorHorizontal="100%" AnchorVertical="100%">
</ext:HtmlEditor>
</Items>
</ext:Panel>
</Items>
</ext:TabPanel>
</div>
</form>
</body>
</html>

Daniil
Jun 24, 2014, 3:06 PM
Hi @speedstepmem4,

I am not sure what an AnchorLayout leaves that space.

Please try a FitLayout instead, it appears to work better in this case.