diff --git a/egui_extras/src/grid.rs b/egui_extras/src/grid.rs index 9c42ede4..1765e631 100644 --- a/egui_extras/src/grid.rs +++ b/egui_extras/src/grid.rs @@ -42,7 +42,7 @@ impl<'a> GridBuilder<'a> { self } - /// Build horizontal grid + /// Build horizontal grid: Cells are positions from left to right. /// Takes the available horizontal width, so there can't be anything right of the grid or the container will grow slowly! pub fn horizontal(self, grid: F) where @@ -60,7 +60,7 @@ impl<'a> GridBuilder<'a> { }); } - /// Build vertical grid + /// Build vertical grid: Cells are positions from top to bottom. /// Takes the full available vertical height, so there can't be anything below of the grid or the container will grow slowly! pub fn vertical(self, grid: F) where