1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2026-05-15 09:00:28 +00:00

Ajustements

This commit is contained in:
Yan Maniez 2018-07-21 21:05:06 +02:00
parent 8969c0bd90
commit b33ab7cada
5 changed files with 14 additions and 7 deletions

View file

@ -422,6 +422,7 @@
FormattedText = CreateFormatted(par.Inline, style.FontFamily, style.Attributes, style.ForegroundColor, style.BackgroundColor, style.FontSize),
HorizontalOptions = LayoutOptions.CenterAndExpand,
BackgroundColor = style.BackgroundColor,
LineBreakMode = LineBreakMode.WordWrap,
VerticalTextAlignment = TextAlignment.Center,
HorizontalTextAlignment = TextAlignment.Center,
};

View file

@ -32,12 +32,12 @@ namespace AideDeJeu.Views
BindingContext = _ItemsViewModel = itemsViewModel; // Main;
this.SizeChanged += (o, e) => {
if(this.Width > 0 && this.Height > 0)
{
this.IsPresented = this.Width > this.Height;
}
};
//this.SizeChanged += (o, e) => {
// if(this.Width > 0 && this.Height > 0)
// {
// this.IsPresented = this.Width > this.Height;
// }
//};
}
public ItemsPage()
{