Results 1 to 2 of 2

Thread: how to arrange an textfield and a button to one line horizontally?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Jan 2012
    Location
    Shanghai, China
    Posts
    24
    Answers
    1
    Vote Rating
    1
      0  

    Default Answered: how to arrange an textfield and a button to one line horizontally?

    hi all,
    i have a form like this: extjs4
    xtype: 'form',......
    items: [{ xtype: 'textfield', fieldLabel: 'query string', id: 'query' }],
    buttons: [{ text: 'query' }]......
    so, the textfield and the button are arranged vertically, not in one line horizontally.
    the question is, how to arrange the textfield and the button to one line horizontally?
    thanks.

  2. use dockedItems with dock='right'

Tags for this Thread

Posting Permissions

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