Results 1 to 3 of 3

Thread: noob question

  1. #1
    Sencha User
    Join Date
    Apr 2011
    Posts
    3

    Default noob question

    GDLayersUnderHighComp new field name with possible values of (null, GDLayersUnderComp30to40, GDLayersUnderComp50)



    Instructions

    Very new to sench touch and json so this is probably a very stupid question. I cannot seem to get a label to go to the right or the left of an object, use a checkbox for example. 'ChckBoxTest' always shows up over the box its self. I feel like its something very simple Im missing Any advice?

    Ext.setup({
    onReady: function (){
    new Ext.Panel({
    fullscreen: true,
    style: "background-color: #fee;",
    items:[
    {
    xtype: 'checkboxfield',
    name: 'ChckBoxTest',
    label: 'CheckBoxTest'
    }
    ],
    dockedItems: []
    })
    }
    });



    Also that is the closest thing to xtype: label that is usable with touch, or an I getting an error for another reason and xtupe: label is supported ?

  2. #2
    Sencha - Training Team
    Join Date
    Nov 2009
    Location
    Washington, DC
    Posts
    76

    Default

    Have you tried:

    Code:
    {
     xtype: 'texfield',
     labelWidth: '40%',
     label: 'First Name',
     labelAlign: 'right'
    }

  3. #3
    Sencha User
    Join Date
    Aug 2011
    Posts
    1

    Default

    Quote Originally Posted by sdruckerfig View Post
    Have you tried:

    Code:
    {
     xtype: 'texfield',
     labelWidth: '40%',
     label: 'First Name',
     labelAlign: 'right'
    }
    Thank's for this it work's great!!

    Gena

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •