Results 1 to 2 of 2

Thread: Align some buttons to the left and some to the right in grid toolbar

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    10

    Question Align some buttons to the left and some to the right in grid toolbar

    Hi,

    I'd like to know if it is possible to align some buttons to the right in a default toolbar (which aligns always to the left). I know I can change the alignment of the whole toolbar with the setAlignment() method but I want to have some buttons on one side and some on the other.

    Thank you for your time

  2. #2
    Sencha User
    Join Date
    Apr 2010
    Posts
    10

    Default

    Just to answer myself in case it is useful to someone: you have to add a FillToolItem component to the toolbar between the left aligned and the right aligned buttons.

Similar Threads

  1. How to align form buttons on left
    By nik600 in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 17 May 2010, 4:02 AM
  2. Align a component in a grid toolbar
    By rails_user in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 26 Jun 2008, 8:58 AM
  3. my toolbar buttons are aligned to the left....
    By parmar in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 5 Jun 2008, 8:24 AM
  4. How to create and align toolbar buttons
    By abhilashrana in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 11 Feb 2008, 10:37 PM
  5. Right align some buttons in grid toolbar: How?
    By Mango_lier in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 23 Oct 2007, 7:36 PM

Posting Permissions

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