문제

How can I attach a label to a scrollview at design time (not in the designer) So I can create a label but the content of my 100% widthx 100% height label, the long text goes off the screen. Is there a simple way to make the label scroll without getting too complex? Much appreciated.

도움이 되었습니까?

해결책

Not sure that I exactly understand your question. You should put the label on a ScrollView in order to make it scrollable. A tutorial about ScrollView is available here.

You can use StringUtils.MeasureMultilineTextHeight to calculate the required height.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top