Label: top value
Hi!
I created a label and gave it "top: 5".
After that i added it to my view and instead of being on the top, it is in the middle of my view.
Now i tested and i i give it "top: -220" it is on the top.
Are the any ways to make this "normal"? (i mean that top 0 is the top of my view?)
1 Answer
-
Accepted Answer
Add these values to your label var:
width:'auto',
height:'auto',