[CLOSED] [1.0] Field with Label margin-button

  1. #1

    [CLOSED] [1.0] Field with Label margin-button

    Hi,

    i have form in which i want to show a code value combination seen in the attachment. But the value field appears under the code field. That because i have a FieldLabel for code field. It causes margin-bottom:4px style. When i use margin for the value field it will show correct. Should i do this like this, or is there another solution?

    Thanks.
      <ext:Viewport runat="server">
      <Items>
        <ext:TableLayout ID="tblLay" runat="server" Columns="2">
          <cells>
          <ext:Cell>
            <ext:TextField ID="PasswordField" runat="server" FieldLabel="Label1" Text="001"
              Width="175">
            </ext:TextField>
          </ext:Cell>
          <ext:Cell>
            <ext:TextField runat="server" Vtype="password" FieldLabel="" 
              MsgTarget="Side" Width="300" Text="Value of 001">
              
            </ext:TextField>
          </ext:Cell>
        </cells>
        </ext:TableLayout>
        </Items>
      </ext:Viewport>
  2. #2

    RE: [CLOSED] [1.0] Field with Label margin-button

    Hi,

    I recomend to use CompositeField if you need several fields in one row
    Just field with FieldLabel produces more elements therefore representation field with label and without is different
    It is a source of the problem. You can add margin manually or use CompositeField
  3. #3

    RE: [CLOSED] [1.0] Field with Label margin-button

    With CompositeField it works fine, thanks.

Similar Threads

  1. [CLOSED] Label editor with a composite field
    By stratadev in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 24, 2012, 4:04 PM
  2. RTL Field label
    By azooz in forum 1.x Help
    Replies: 0
    Last Post: May 21, 2012, 11:57 AM
  3. [CLOSED] Field Label not work with ext:SpinnerField
    By stoque in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Nov 28, 2011, 8:03 PM
  4. [CLOSED] Display Field V/s Label
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Sep 06, 2011, 1:14 PM
  5. [CLOSED] Field Set Margin gaps
    By Etisbew in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jun 25, 2009, 2:18 PM

Posting Permissions