[CLOSED] Align button and textbox with fieldcontainer.

  1. #1

    [CLOSED] Align button and textbox with fieldcontainer.

    Last edited by Daniil; Aug 05, 2013 at 5:26 AM. Reason: [CLOSED]
  2. #2
    Hello!

    Try the following:

    <ext:FieldContainer ID="FieldContainerMapa" runat="server" Layout="HBoxLayout" >
        <LayoutConfig>
            <ext:HBoxLayoutConfig runat="server">
                <CustomConfig>
                    <ext:ConfigItem Name="align" Value="bottom" />
                </CustomConfig>
            </ext:HBoxLayoutConfig>
        </LayoutConfig>
        <Items>
            <ext:TextField ID="TextFieldLink" runat="server" FieldLabel="Link do mapa" />
            <ext:Button ID="Botao" runat="server" Icon="Accept" Text="Legal" />
        </Items>
    </ext:FieldContainer>
  3. #3
    Hello Baidaly.

    Thanks for your help.

    In the Crhome version 28.0.1500.95 m not work.
    In firefox and IE the textfield does not not resize.

    See:

    Click image for larger version. 

Name:	image.png 
Views:	36 
Size:	16.2 KB 
ID:	6682
  4. #4
    Please, set Flex attribute for the TextField:

    <ext:FieldContainer ID="FieldContainerMapa" runat="server" Layout="HBoxLayout" >
    	<LayoutConfig>
    		<ext:HBoxLayoutConfig runat="server">
    			<CustomConfig>
    				<ext:ConfigItem Name="align" Value="bottom" />
    			</CustomConfig>
    		</ext:HBoxLayoutConfig>
    	</LayoutConfig>
    	<Items>
    		<ext:TextField ID="TextFieldLink" runat="server" FieldLabel="Link do mapa" Flex="1" />
    		<ext:Button ID="Botao" runat="server" Icon="Accept" Text="Legal" />
    	</Items>
    </ext:FieldContainer>
  5. #5
    Hy Baidaly,

    It worked well.

    Please close this thread.

    Thanks for your help. :)

Similar Threads

  1. [CLOSED] Align textbox
    By Marcelo in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 15, 2012, 1:45 AM
  2. How to put button align left tag <Button>?
    By Kai_it in forum 1.x Help
    Replies: 6
    Last Post: Nov 21, 2011, 1:49 AM
  3. Replies: 0
    Last Post: Apr 21, 2010, 5:02 AM
  4. Replies: 1
    Last Post: Jun 18, 2009, 3:27 AM
  5. How to right align a button?
    By JMan in forum 1.x Help
    Replies: 4
    Last Post: Nov 18, 2008, 12:45 PM

Tags for this Thread

Posting Permissions