Hello, i 've tried some resources found in here, but i didnt make it, maybe is something with the measurement units.
I have a Panel attached into a Scrollview. I have also an image aligned left-up to that panel, and a label placed to the right of the image. Both a childs of the Panel, which is child of the scrollview.
What is the correct command to set the Panel Height and the Label.Height to the corresponding label.text.I want all the text to be shown and its not a constant, it changes, thats why i need to calculate programmatically both Label and ofcourse panel heights (scrollview height is maximied to the device's Y resolution).
I have a Panel attached into a Scrollview. I have also an image aligned left-up to that panel, and a label placed to the right of the image. Both a childs of the Panel, which is child of the scrollview.
What is the correct command to set the Panel Height and the Label.Height to the corresponding label.text.I want all the text to be shown and its not a constant, it changes, thats why i need to calculate programmatically both Label and ofcourse panel heights (scrollview height is maximied to the device's Y resolution).