Results 1 to 3 of 3

Thread: Height not working in spacer

  1. #1

    Question Height not working in spacer

    Hi,

    I have a big problem with the layout stuff in sencha touch ...
    I have panel with a vbox layout an some rows with items in it ... so I want a defined gap between the rows ... so I think I take 'xtype: spacer' item between tow rows an give them a height to push them apart

    thanks for your help and ideas !

  2. #2

    Default

    Hi there,

    use a component instead of spacer
    Code:
    {
                xtype: 'component',
                height: 15
            }
    it works for me

  3. #3
    Sencha User MiamiCoder's Avatar
    Join Date
    Mar 2009
    Location
    Miami, FL
    Posts
    144

    Default

    Not sure I understand what you need, but did you try css - padding, margin? No need to add components if you can avoid them.

Posting Permissions

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