-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I was trying to find a way of setting the horizontal alignment of some components that are inside a 'vlayout' parent, but I couldn't find an 'align' property for vlayout. This is odd since vbox does have an align property.
As vlayout seems to be preferred over vbox, what are my options?
I've been struggling with this for a while too. I ended up with either hlayouts or div as children of vlayout, and set their style='text-align:right/left/...' or flow;right.
It is hit-or-miss. Sometimes both approaches work, sometimes only one works, sometimes neither works,especially when dealing with right-alignment.
you can put a div inside a vlayout or hlayout and set the property Align of this div
Asked: 2012-08-06 06:45:33 +0800
Seen: 151 times
Last updated: Aug 07 '12