Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

get actual Width of a Label (to position vertical text)

$
0
0

How do I get the actual Width of an element such as a Label?

When it's autosized, the Width returns -1, which I can't use to position that label.

The only reason I need to manually position the label is because it's rotated (90 degrees), and since it's more like a RenderTransform than LayoutTransform (from WPF), the built-in layout logic for the rotated Label can't be used. Unless someone knows a trick??


Viewing all articles
Browse latest Browse all 58056

Trending Articles