Control AutoWidth

  1. #1

    Control AutoWidth

    How to set 100% width to controls like Textbox and combo box...


          <table style="width: 100%;" border="1">
            <tr>
                <td>
                    <ext:TextField ID="txt1" runat="server" StyleSpec="width:100%">
                    </ext:TextField>
                </td>
            </tr>
            <tr>
                <td>
                    <ext:ComboBox ID="ComboBox1" runat="server" StyleSpec="width:100%"></ext:ComboBox>
                </td>
            </tr>
        </table>
  2. #2
    If i use the cls property to set the width .. its working textfield.
      <ext:TextField ID="txt1" runat="server" Cls="fillWidth" Flex="1" />
    
    .fillWidth
    {
        width:100%;
    }

    but the same fix is not working for combobox!
    Last edited by dtamils; Aug 08, 2011 at 8:55 AM.

Similar Threads

  1. AutoWidth in TableLayout
    By lagrange in forum 1.x Help
    Replies: 0
    Last Post: Sep 27, 2011, 2:47 AM
  2. [1.0] ComboBox AutoWidth bug?
    By tnwheeler in forum 1.x Help
    Replies: 0
    Last Post: Jun 04, 2010, 4:19 PM
  3. GridPanel?AutoWidth??
    By zaneabc in forum 1.x Help
    Replies: 0
    Last Post: Jul 03, 2009, 10:28 AM
  4. Autowidth problem
    By BrunoC in forum Bugs
    Replies: 0
    Last Post: Mar 23, 2009, 9:47 AM
  5. [CLOSED] GridPanel AutoWidth
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 12
    Last Post: Nov 19, 2008, 9:30 AM

Posting Permissions