Feb 01, 2011, 2:06 PM
Panel Height Bug
I have this structure mounted
I think that two height are combined to simulate the layout Fit of the principal container Panel.
The question is that my first child panel, renders with a height greather than specified.
<ext:Panel runat="server" Title="<%$ AppRecursos : sm_txt_presencia %>" AutoHeight="true" Layout="Fit">
<Items>
<ext:Panel runat="server" Layout="HBox" Border="false" LabelSeparator=":" LabelAlign="Top"
LabelWidth="110" Height="45">
<Defaults>
<ext:Parameter Name="margins" Value="0 0 0 5" Mode="Value" />
</Defaults>
<Items>
<ext:TextField runat="server" FieldLabel="<%$ AppRecursos : sm_txt_flexMinima %>"
Text="00:00" Regex="^(([0-1]?[0-9])|([2][0-3])):([0-5]?[0-9])$" RegexText="hh:mm">
</ext:TextField>
<ext:TextField runat="server" FieldLabel="<%$ AppRecursos : sm_txt_flexMaxima %>"
Text="00:00" Regex="^(([0-1]?[0-9])|([2][0-3])):([0-5]?[0-9])$" RegexText="hh:mm">
</ext:TextField>
</Items>
</ext:Panel>
<ext:Panel runat="server" Height="102" Layout="Form"><Items>
<ext:TextArea runat="server" Text="Sample"></ext:TextArea>
</Items></ext:Panel>
</Items>
</ext:Panel>
But the html renderer puts height=147 in the first panel and 102 to the second one.I think that two height are combined to simulate the layout Fit of the principal container Panel.
The question is that my first child panel, renders with a height greather than specified.