Little problem here:
I have a working scrollview with a label that is child to the scrollview's panel.
The label contains certain multiline text.
So far so good.
I have sized the scrollview very big (high) to cope with the maximum text length I expect.
Most of the label is empty most of the time, though.
Is there any trick out there how I can resize the scrollview to the actual height of the label used to display the text? I know how to resize the scrollview, but what would be the right height? Where can I take it from?
Any hint appreciated.
Thanks
Andy
I have a working scrollview with a label that is child to the scrollview's panel.
The label contains certain multiline text.
So far so good.
I have sized the scrollview very big (high) to cope with the maximum text length I expect.
Most of the label is empty most of the time, though.
Is there any trick out there how I can resize the scrollview to the actual height of the label used to display the text? I know how to resize the scrollview, but what would be the right height? Where can I take it from?
Any hint appreciated.
Thanks
Andy