PDA

View Full Version : Vertically align content inside a carousel



alexandra.ac
14 Feb 2011, 4:50 AM
Hi everyone,

I'm new to Sencha Touch and I'm working on my first web app. I have a horizontal carousel, where each item has a height smaller than the screen height.

I'm trying to vertically align each item so the spaces at the top and bottom are equal. I can't use padding or margin because I want this to work when the orientation of the phone is changed.

Do you have an idea of how I can solve this? Does the carousel object has a property that can be used for vertical alignment?

Premier
10 Aug 2011, 12:40 PM
Did you solved?