Relative positions of labels
Hi,
I would like to know whether it is possible to set the position of labes relative.
I got a label which gets data from a api, and it can be only one line or even 3 lines of text.
All of my other labels should go down relative to the size of my top label.
Is there a property in titanium that does this? Or knows anybody an other way to do this?
Greetings,
Michael
2 Answers
-
I think you're looking for something like the vertical layout.
-
Hello Kevin,
i think this idea is nearly what i wanted.
Let me make a example:
topLabel.top= 5; secondLabel.top = (toplabel.bottom + 10);
I hope it is clear what i want to do?
my topLabel can have a height of 10 or 20 or … put in a number. Now my second Label should be 10px under my topLabel.