I need to get the height of a label whose width and height are set to as
Ti.UI.SIZE. Apparently i will be adding another label dynamically whose top has to be set to the first label's height.
I tried with `secondLabel.top=firstLabel.height+20' but they overlaps since Ti.API.info(firstLabel.height) returns as SIZE.
Iam using 2.02 GA . pls help me out with a sample reg
how to add labels dynamically with top based on previous height when labels are set to Ti.UI.SIZE for both width and height .
You can do it many ways.
2.Using toImage() like this.
var i = view.toImage(); i.width; i.height;
Think you can help? Login to answer this question!