ext.net label autoheight

  1. #1

    ext.net label autoheight

    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.
  2. #2
    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...ing-New-Topics

    http://forums.ext.net/showthread.php...ation-Required
    Geoffrey McGill
    Founder
  3. #3

    auto height in fieldcontainer

    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>
    Last edited by mahabub; Apr 19, 2012 at 8:07 PM.

Similar Threads

  1. AutoHeight with MaxHeight
    By huzzy143 in forum 1.x Help
    Replies: 4
    Last Post: Apr 11, 2012, 1:30 PM
  2. [CLOSED] Label Style / Obtain label color based on theme
    By rthiney in forum 1.x Legacy Premium Help
    Replies: 11
    Last Post: Apr 15, 2010, 10:35 AM
  3. [1.0] Panel autoheight
    By SouthDeveloper in forum 1.x Help
    Replies: 2
    Last Post: Feb 12, 2010, 6:30 PM
  4. [1.0] gridpanel autoheight
    By SouthDeveloper in forum 1.x Help
    Replies: 2
    Last Post: Feb 12, 2010, 10:09 AM
  5. GridPanel autoHeight problem
    By salihb in forum Bugs
    Replies: 0
    Last Post: Aug 25, 2009, 3:16 AM

Tags for this Thread

Posting Permissions