Jan 03, 2012, 12:08 PM
Label FieldLabel vertical align issue
Hi!
I have vertical issue while using ext:Label
I have found: padding-left: 105px in result html. WTF ?
How can I fix it?
Also its layout fine in chrome WHEN Panel layout is "Fit". But in that case in IE it looks like
I have vertical issue while using ext:Label
<ext:Container ID="Container3" runat="server" Layout="ColumnLayout" AutoHeight="true" >
<LayoutConfig>
<ext:ColumnLayoutConfig Split="true" FitHeight="false" />
</LayoutConfig>
<Listeners>
<AfterLayout Handler="setHeight('DestinationPanel', 'FrieghtDescriptionPanel'); " Delay="90"/>
</Listeners>
<Items>
<ext:Panel ID="DestinationPanel" runat="server" Title="Destination" HideLabel="true" Border="true" Padding="5" ColumnWidth="0.5" Cls="font" Layout="FormLayout" >
<Items>
<ext:Label runat="server" AutoDataBind="true" Text="<%# Model.FrieghtDestination %>" HideLabel="true" />
<ext:Label runat="server" AutoDataBind="true" FieldLabel="<b>Package type</b>" Text="<%# Model.FrieghtPackageType %>" />
<ext:Label runat="server" AutoDataBind="true" FieldLabel="<b>Freight goods</b>" Text="<%# Model.FrieghtDeliveryItems %>" />
</Items>
</ext:Panel>
<ext:Panel ID="FrieghtDescriptionPanel" runat="server" Title="Description" ColumnWidth="0.5" Border="true" Padding="5" Cls="font" >
<Content>
<%= Model.FrieghtDescription %>
</Content>
</ext:Panel>
</Items>
</ext:Container>
Result:I have found: padding-left: 105px in result html. WTF ?
How can I fix it?
Also its layout fine in chrome WHEN Panel layout is "Fit". But in that case in IE it looks like
Last edited by alexot; Jan 03, 2012 at 12:56 PM.