Results 1 to 3 of 3

Thread: Add spaces between buttons

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Location
    Rennes - France
    Posts
    172
    Answers
    2
    Vote Rating
    1
      0  

    Default Answered: Add spaces between buttons

    Hi,

    I wanna know how to add spaces between buttons.

    Indeed, they are too closed and i wanna add more spaces between each one.

    It it possible to change their position (vertical and horizontal) to the middle of the view.

    Thanks for your reply.

    Regards
    Attached Images Attached Images

  2. In fact, i have used { xtype: 'spacer' } between each button item and it work fine.

    Thus, it generate a dynamic space between each one and make the rendering uniform in the page whatever is the resolution.

  3. #2
    Sencha - Community Support Team mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,023
    Answers
    3976
    Vote Rating
    1334
      0  

    Default

    You can try using the margin config ont he buttons or adding a component with a height as an item between the buttons. Would try the margin config first.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  4. #3
    Sencha User
    Join Date
    Jan 2012
    Location
    Rennes - France
    Posts
    172
    Answers
    2
    Vote Rating
    1
      0  

    Default { xtype: 'spacer' },

    In fact, i have used { xtype: 'spacer' } between each button item and it work fine.

    Thus, it generate a dynamic space between each one and make the rendering uniform in the page whatever is the resolution.

Posting Permissions

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