i have one ioslabel with some text,some times text is 1 line and some times is 3 lines.
is possible to extend height on this label to fit the text ?
[quote=191667:@Loannis Kolliageorgas]i have one ioslabel with some text,some times text is 1 line and some times is 3 lines.
is possible to extend height on this label to fit the text ?[/quote]
Since a label is transparent, you may make it much higher than the possible maximum. Problem is, it seems like a desktop label when there is only one line it comes in the middle of the label, and when multiline on top.
You may want to use a Canvas instead, and use g.TextBlockSize to know if you need to extend the Height constraint.
Thank you Michel.