[CLOSED] TextArea Height Issue

  1. #1

    [CLOSED] TextArea Height Issue

    I, recently, had a need to convert an Ext.Net TextField element to an Ext.Net TextArea element. The problem is that the container in which the element lives has a set height and the TextArea extends past the container's boundaries. I have tried applying several attributes to the element but none seem to work. It appears that there is a bug that causes the TextArea to "collapse" to about 3px when applying any attributes affecting height (Height, MaxHeight, BoxMaxHeight, etc.). My guess is that this is an issue when nesting the TextArea within a specific set of elements.

    Markup (modified for brevity)

    ...
    <ext:Viewport ID="viewport" runat="server" MonitorResize="true" Layout="Fit">
        <Content>
            <ext:BorderLayout ID="BorderLayout1" runat="server">
                <North Split="false">
                    <ext:Panel ID="Panel3" runat="server" Height="50" Layout="Fit" MonitorResize="true" Border="false">
                        <Items>
                            <ext:HBoxLayout ID="HBoxLayout2" runat="server" Pack="Center" OnLoad="ExtraControlsPanel_Load">
                                <BoxItems>
                                    <ext:BoxItem>
                                        <ext:TextArea ID="extraTextField" runat="server" FieldLabel="Variable" Visible="false" ForceSelection="true" Editable="false" IDMode="Static" Width="250" LabelWidth="50" LabelPad="15" LabelAlign="Right">
                                        </ext:TextArea>
                                    </ext:BoxItem>
                                </BoxItems>
                            </ext:HBoxLayout>
                        </Items>
                    </ext:Panel>
                </North>
            </ext:BorderLayout>
        </Content>
    </ext:Viewport>
    ...
    As I mentioned: if a "height" attribute is applied to the TextArea (regardless of the value), the element is "collapsed" to about 3px when rendered (screenshots attached). Thank you in advance.
    Attached Thumbnails Click image for larger version. 

Name:	HeightApplied.PNG 
Views:	84 
Size:	11.2 KB 
ID:	4053   Click image for larger version. 

Name:	NoHeightApplied.PNG 
Views:	83 
Size:	12.4 KB 
ID:	4054  
    Last edited by Daniil; Apr 09, 2012 at 7:25 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, your code sample does not reproduce the issue and Exceptions are thrown.

    http://forums.ext.net/showthread.php...ation-Required

    Maybe try removing the Layout="Fit" and MonitorResize="true" properties.
    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] HTML editor height issue
    By speedstepmem3 in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jul 19, 2010, 3:27 PM
  2. [CLOSED] gridpanel width/height refreshing issue
    By idrissb in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 02, 2009, 5:29 PM
  3. GridPanel Textarea Editor - Height Issue
    By Tbaseflug in forum Bugs
    Replies: 0
    Last Post: Apr 28, 2009, 4:38 PM
  4. Column Editor TextArea Height
    By sipo in forum Bugs
    Replies: 0
    Last Post: Apr 09, 2009, 4:23 AM
  5. Replies: 0
    Last Post: Mar 05, 2009, 11:23 AM

Posting Permissions