Results 1 to 4 of 4

Thread: buttonAlign property

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Posts
    85
    Vote Rating
    0
      0  

    Default buttonAlign property

    Hi, when designing Form Panels I like to position buttons on the right side. By code, I usually set the "buttonAlign" property, but there's no such property in Designer.

    How can I align buttons to right with Designer?.

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488
    Vote Rating
    147
      0  

    Default

    Add a FormPanel
    Add a Toolbar to the formpanel
    Set the toolbars dock to bottom
    Set the Toolbar's ui to "footer"
    Add a Fill to the Toolbar
    Add buttons to the Toolbar
    Aaron Conran
    @aconran

  3. #3
    Sencha User
    Join Date
    Dec 2008
    Posts
    85
    Vote Rating
    0
      0  

    Default

    Great! thanks.

  4. #4
    Sencha User
    Join Date
    May 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default

    hi, i am in the same situation with buttonAlign property. i have added the toolbar and is ok now but i find a little problem: the button is not aligned 100% to the right of the toolbar. i have tried with padding with no success, mus i use css?
    Captura de pantalla 2012-05-17 a la(s) 20.27.44.png
    thanks!

Posting Permissions

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