From 8495242f21a56c6217dc66ff1f4d588c77900a1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20R=C3=B6ssler?= Date: Wed, 9 Feb 2022 13:23:02 +0100 Subject: [PATCH] newline --- egui_extras/src/table.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/egui_extras/src/table.rs b/egui_extras/src/table.rs index 2cdabda7..eb9d0612 100644 --- a/egui_extras/src/table.rs +++ b/egui_extras/src/table.rs @@ -155,7 +155,8 @@ pub struct TableBody<'a> { } impl<'a> TableBody<'a> { - /// Add rows with same height + /// Add rows with same height. + /// /// Is a lot more performant than adding each individual row as non visible rows must not be rendered pub fn rows(mut self, height: f32, rows: usize, mut row: impl FnMut(usize, TableRow<'_, '_>)) { let delta = self.layout.current_y() - self.start_y;