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

Layout question - is there a component similar to Flash Builder's Spacer?

$
0
0

In flash builder there is a great component, for working with layouts, called the Spacer. Is there a similar component in Xamarin Forms?

A typical useage of Spacer would be: I have a horizontal layout filling the screen, and two labels that I want aligned to either side of the screen. In Flash Builder I would add the first label, add the spacer - set to 100%, and then add the second label. The spacer fills all empty space between the labels and separates them.

Is there a similar component in Xamarin or are we supposed to use relative layouts for stuff like this?


Viewing all articles
Browse latest Browse all 58056

Trending Articles