From 738bb0c6faf0cbd85dd12779eeb750ac60a82ff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20R=C3=B6ssler?= Date: Wed, 9 Feb 2022 16:50:17 +0100 Subject: [PATCH] add warning --- egui_extras/src/grid.rs | 4 +++- egui_extras/src/table.rs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/egui_extras/src/grid.rs b/egui_extras/src/grid.rs index b3d62e85..b8e2ab0a 100644 --- a/egui_extras/src/grid.rs +++ b/egui_extras/src/grid.rs @@ -20,7 +20,9 @@ pub struct GridBuilder<'a> { } impl<'a> GridBuilder<'a> { - /// Create new grid builder + /// Create new grid builder. + /// + /// In contrast to normal egui behavior, cells do *not* grow with its children! /// /// After adding size hints with `[Self::column]`/`[Self::columns]` the grid can be build with `[Self::horizontal]`/`[Self::vertical]`. /// diff --git a/egui_extras/src/table.rs b/egui_extras/src/table.rs index ee2b4bad..cbf3e077 100644 --- a/egui_extras/src/table.rs +++ b/egui_extras/src/table.rs @@ -26,6 +26,7 @@ impl<'a> TableBuilder<'a> { /// /// | fixed size | all available space/minimum | 30% of available width | fixed size | /// + /// In contrast to normal egui behavior, cells do *not* grow with its children! /// Takes all available height, so if you want something below the table, put it in a grid. /// /// ### Example