Results 1 to 3 of 3

Thread: Button to side of form field?

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
      0  

    Default Button to side of form field?

    Is there any way to place a button to the right of a form field that is in a field set? I would like to have a button to teh right of the Zip Code field in the following code:

    Code:
                        xtype: 'form',
                        id: 'storeFinderForm',
                        scroll: 'vertical',
                        style: 'font-size: 11pt',
                        items: [{
                            xtype: 'fieldset',
                            title: 'Enter zip code to find nearby stores:',
                            defaults: {
                                labelWidth: '35%'
                            },
                            items: [{
                                xtype: 'textfield',
                                name: 'zip',
                                label: 'Zip Code',
                                required: true,
                                useClearIcon: true
                            }]  
                        }]
    Thanks!

  2. #2
    Sencha User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,065
    Vote Rating
    962
      0  

    Default

    HBox layout.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

  3. #3
    Sencha Premium Member
    Join Date
    Sep 2008
    Posts
    710
    Vote Rating
    6
      0  

    Default

    Sorry, I'm burnt out and can't think for myself right now

    Thanks!

Similar Threads

  1. Form field side-by-side layout (in the middle of a form)
    By walkman50 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 27 May 2009, 8:17 AM
  2. How to create a button of lookup to the side of the field textfield?
    By Rafael in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 2 Dec 2008, 10:37 AM
  3. Replies: 2
    Last Post: 19 Jan 2008, 5:19 PM
  4. [2.0b1][Solved]Form field msgTarget : 'side' problem
    By abent in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 24 Oct 2007, 8:34 AM

Posting Permissions

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