From 787b1ad8be1f14aa5af2d72989222a1b83efbe8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20R=C3=B6ssler?= Date: Wed, 9 Feb 2022 16:04:56 +0100 Subject: [PATCH] document vertical/horizontal --- egui_extras/src/grid.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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