1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

egui_extras: make number of rows in table demo configurable

This commit is contained in:
Wayne Warren
2022-04-03 10:59:10 -06:00
parent e81a92d32d
commit ab4930fde7
2 changed files with 26 additions and 10 deletions

View File

@@ -357,7 +357,7 @@ pub trait TableRowBuilder {
}
impl<'a> TableBody<'a> {
pub fn heterogenous_rows(mut self, builder: impl TableRowBuilder) {
pub fn heterogeneous_rows(mut self, builder: impl TableRowBuilder) {
let mut heights = builder.row_heights(&self.widths);
let max_height = self.end_y - self.start_y;