Issue
In xamarin I would like a label text with a maximum length. When they modify the size of the device screen, all the labels are not displayed correctly I am using xamarin forms 5.0.0.2244
var labelCountry = new Label
{
Text = $"Bienvenido a {Settings.Country} ",
FontSize = 14,
TextColor = Color.Blue
};
Solution
read the docs on Layout Options
HorizontalOptions = LayoutOptions.FillAndExpand
this will make the Label
expand to fill the size of it's parent container
Answered By - Jason
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.