align
the alignment of the widget within the parent container
string align;
Values
"left", "right", "center"
for the x align
"top", "bottom", "middle"
for the y align
"absolute"
for the absolute align
Example
//center align
{ align:"center,middle", body:{ view:"datepicker", width:200 }},
//bottom-right corner
{ align:"bottom,right", body:{ view:"datepicker", width:200 }},
//specific padding
{ align:"absolute", left:30, top:30, bottom:60, body:{ view:"datepicker", width:200 }}
Related samples
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.