mirror of
				https://github.com/Nioux/AideDeJeu.git
				synced 2025-11-04 01:00:23 +00:00 
			
		
		
		
	Simplification grid, à bien retester
This commit is contained in:
		
							parent
							
								
									0e626afd71
								
							
						
					
					
						commit
						05c678b4d0
					
				
					 2 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -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();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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" +
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue