1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-11-02 00:16:07 +00:00

Simplification grid, à bien retester

This commit is contained in:
Yan Maniez 2018-07-26 00:10:17 +02:00
parent 0e626afd71
commit 05c678b4d0
2 changed files with 5 additions and 5 deletions

View file

@ -441,7 +441,7 @@
{ {
grid.ColumnDefinitions.Add(new ColumnDefinition { Width = GridLength.Auto }); grid.ColumnDefinitions.Add(new ColumnDefinition { Width = GridLength.Auto });
} }
double? gridHeight = null; /*double? gridHeight = null;
grid.SizeChanged += (object sender, EventArgs e) => grid.SizeChanged += (object sender, EventArgs e) =>
{ {
if (gridHeight == null) if (gridHeight == null)
@ -452,15 +452,15 @@
{ {
grid.HeightRequest = gridHeight.Value; grid.HeightRequest = gridHeight.Value;
} }
}; };*/
//grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) }); //grid.ColumnDefinitions.Add(new ColumnDefinition { Width = new GridLength(1, GridUnitType.Star) });
//grid.RowDefinitions.Add(new RowDefinition { Height= new GridLength(1, GridUnitType.Star) }); //grid.RowDefinitions.Add(new RowDefinition { Height= new GridLength(1, GridUnitType.Star) });
stack.Children.Add(scroll); stack.Children.Add(scroll);
scroll.Content = grid; scroll.Content = grid;
//grid.WidthRequest = 1000; //grid.WidthRequest = 1000;
scroll.ForceLayout(); //scroll.ForceLayout();
this.UpdateChildrenLayout(); //this.UpdateChildrenLayout();
} }

View file

@ -19,7 +19,7 @@ namespace AideDeJeuLib
"## [Etats spéciaux](conditions_hd.md)\n\n" + "## [Etats spéciaux](conditions_hd.md)\n\n" +
"## [Sorts](spells_hd.md)\n\n" + "## [Sorts](spells_hd.md)\n\n" +
"## [Créatures](monsters_hd.md)\n\n" + "## [Créatures](monsters_hd.md)\n\n" +
"## [Mignons](baby_bestiary_hd.md)\n\n" + //"## [Mignons](baby_bestiary_hd.md)\n\n" +
"# VO (SRD)\n\n" + "# VO (SRD)\n\n" +
"## [Conditions](conditions_vo.md)\n\n" + "## [Conditions](conditions_vo.md)\n\n" +
"## [Spells](spells_vo.md)\n\n" + "## [Spells](spells_vo.md)\n\n" +