[CLOSED] Unable to stretch ext:TextField to width of FitLayout Panel correctly

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    [CLOSED] Unable to stretch ext:TextField to width of FitLayout Panel correctly

    I have a simple user control that contains among other usercontrols, a couple of standard <ext:TextFields>. All of these controls are within a <ext:FitControl>. The TextField has an IndicatorIcon attribute that seems to get stretched to the width of the container FitControl, but the input field itself does not. How do I get the input field to stretch as well ?

    Here is the code of the usercontrol. This UserControl is also placed within another UserControl (with a FitLayout container)

    See attachment for how this is being rendered.

    <ext:FitLayout ID="tt" runat="server" AnchorHorizontal="100%" >
        <Content>        
            <nxt:LocCmb ID="LocListCmbTree" runat="server" Title="Parent Location" />
            <ext:TextField ID="txtlocationName" runat="server" FieldLabel="Location Name" IndicatorTip="Required field"
                IndicatorIcon="BulletRed" IDMode="Explicit" AnchorHorizontal="100%"  />                
            <nxt:LocList ID="nxtLocCmb" runat="server" Title="Location Type" StoreBaseParams="<%# CodeTypeSystemCode %>">
             </nxt:LocList>
            <ext:TextField ID="txtDescription" runat="server" FieldLabel="Description" 
                IDMode="Explicit" AnchorHorizontal="100%"/>
             <nxt:PriCmb ID="PriCmb1" runat="server" Title="Primary Contact" />
        </Content>
    </ext:FitLayout>
    Click image for larger version. 

Name:	StretchProblem.GIF 
Views:	57 
Size:	17.5 KB 
ID:	3315
    Last edited by Daniil; Oct 14, 2011 at 4:24 PM. Reason: [CLOSED]

Similar Threads

  1. [CLOSED] TextField 100% Width inside a Panel in a FormPanel
    By SouthDeveloper in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Oct 11, 2011, 10:43 AM
  2. [CLOSED] Not stretch User Control in Tab panel
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 28, 2011, 8:23 AM
  3. Can I stretch a TextArea control inside a Panel?
    By paul-2011 in forum 1.x Help
    Replies: 7
    Last Post: Aug 26, 2010, 10:55 PM
  4. Replies: 6
    Last Post: Jun 11, 2010, 12:47 PM
  5. Replies: 2
    Last Post: Apr 23, 2009, 5:49 PM

Posting Permissions