View Full Version : Height not working in spacer

25 Aug 2011, 1:26 AM

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 !

27 Sep 2011, 2:59 AM
Hi there,

use a component instead of spacer

xtype: 'component',
height: 15

it works for me

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.