PDA

View Full Version : ext.net label autoheight



mahabub
Apr 19, 2012, 3:17 PM
hi, i have uses the label autoheight property is used but seems it doesn't sense. the property is not working properly. the height value get elsewhere.
and the dynamic content is not give total content of the label. as i am migration from ext.net 1.3 to ext.net 2.0.

Any Suggestion................. Thanks in advance.

geoffrey.mcgill
Apr 19, 2012, 7:45 PM
Hi,

Welcome to Ext.NET.

I think we're going to need a simplified .aspx code sample demonstrating how to reproduce this issue. As well, is it browser specific?

The following two forum posts provide tips/tricks for posting new forum topics:

http://forums.ext.net/showthread.php?3440-Forum-Guidelines-For-Posting-New-Topics

http://forums.ext.net/showthread.php?10205-More-Information-Required

mahabub
Apr 19, 2012, 8:05 PM
hi, thanks for your reply. sorry, i revise my asking again, think it will more clarify for others.. could you suggest this issue "using label within the fieldcontainer but the label all content is not showing, some parts of the label are showing, i need dynamic content in the label so the label height will be auto and depending on the content the label height will be increase" and no, it is not a browser issue at all...


<ext:ResourceManager runat="server" />

<ext:FormPanel
runat="server"
Height="400"
Width="600"
Title="Form Panel"
BodyPadding="5"
MonitorResize="true">
<Items>
<ext:FieldContainer
runat="server"
FieldLabel="Text fields"
AnchorHorizontal="100%"
Layout="HBoxLayout">
<Items>
<ext:TextField runat="server" Width="150" Margins="0 3 0 0" />
<ext:TextField runat="server" Width="150" />
</Items>
</ext:FieldContainer>

<ext:FieldContainer
runat="server"
FieldLabel="50% / 50%"
AnchorHorizontal="100%"
Layout="HBoxLayout">
<Items>
<ext:TextField runat="server" Flex="1" Margins="0 3 0 0" />
<ext:TextField runat="server" Flex="1" />
</Items>
</ext:FieldContainer>


<ext:FieldContainer
runat="server"
FieldLabel="50% / 50%"
AnchorHorizontal="100%"
Layout="HBoxLayout">
<Items>
<ext:Label runat="server" AutoHeight="true" Text="Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Typi non habent claritatem insitam; est usus legentis in iis qui facit eorum claritatem. Investigationes demonstraverunt lectores legere me lius quod ii legunt saepius. Claritas est etiam processus dynamicus, qui sequitur mutationem consuetudium lectorum. Mirum est notare quam littera gothica, quam nunc putamus parum claram, anteposuerit litterarum formas humanitatis per seacula quarta decima et quinta decima. Eodem modo typi, qui nunc nobis videntur parum clari, fiant sollemnes in futurum." />

<ext:Label runat="server" AutoHeight="true" Text="Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil i" />
</Items>
</ext:FieldContainer>
</Items>
</ext:FormPanel>