06-29-2012 10:29 AM
I read somewhere that the Cascades Label currently onyl supports a single line and when testing it, it also only works that way. To long Labels will be ellipsised.
Are there any plans to support multi line Labels with automatic text arapping (via a property of course)?
Or are we supposed to use disabled TextAreas in the future too?
Solved! Go to Solution.
07-03-2012 05:26 PM
Yes, there are plans for this. Stay tuned...
07-04-2012 04:28 PM
I was going to use a TextArea with:
editable: false
...
Unfotunately, the background color of my screen is the standard #262626, and setting editable:false means that the text color is black, making it barely readable.
Is there a way to set the text color, or will I need to use a white background color for the time being?
07-17-2012 03:38 PM
Yes, actually, you can put the TextArea into a Container and set its background color.
Cheers,
Alex
07-17-2012 05:08 PM
Thanks, although my question is whether there is a way to set the TEXT color of a TextArea. (I do realize that you can set the background color, and am doing that)
07-18-2012 10:58 AM
Yes, you can set the color into textStyle, inside of TextArea, such as:
TextArea {
id: lbl
text: ""
editable: false
textStyle {
color: Color.White
}
layoutProperties: StackLayoutProperties {
horizontalAlignment: HorizontalAlignment.Fill
}
}
Hope this helps.
Cheers,
Alex
07-19-2012 01:31 PM
You should note that using a TextArea will result in the keyboard popping up (even it the textfield is set to editable: false. I created a SLOT where I catch the keyboard opening and close it programaticaly. But it still shows for a split second when it opens.
07-19-2012 03:06 PM
You're right, it was like that on the previous release, but it is fixed now within r06.
Cheers,
Alex
07-23-2012 11:02 AM
Message moved in new thread;
07-23-2012 11:12 AM