mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2026-05-15 09:00:28 +00:00
Ajustements
This commit is contained in:
parent
8969c0bd90
commit
b33ab7cada
5 changed files with 14 additions and 7 deletions
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue