PDA

View Full Version : Height not working in spacer



conscience
25 Aug 2011, 1:26 AM
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 !

blacksword888
27 Sep 2011, 2:59 AM
Hi there,

use a component instead of spacer

{
xtype: 'component',
height: 15
}

it works for me

MiamiCoder
28 Sep 2011, 1:43 PM
Not sure I understand what you need, but did you try css - padding, margin? No need to add components if you can avoid them.