diff --git a/src/constants.rs b/src/constants.rs index 56d8b2ab..668a4ab5 100644 --- a/src/constants.rs +++ b/src/constants.rs @@ -475,7 +475,7 @@ pub const DEFAULT_BASIC_LAYOUT: &str = r##" ratio = 0 [[row.child]] [[row.child.child]] - length = 1 + height = 1 type = "empty" [[row]] ratio = 0 @@ -496,7 +496,7 @@ pub const DEFAULT_BASIC_BATTERY_LAYOUT: &str = r##" [[row]] [[row.child]] [[row.child.child]] - length = 1 + height = 1 type = "empty" [[row]] [[row.child]] diff --git a/src/tuine/component/base/flex/mod.rs b/src/tuine/component/base/flex/mod.rs index 13a77e36..d4262069 100644 --- a/src/tuine/component/base/flex/mod.rs +++ b/src/tuine/component/base/flex/mod.rs @@ -204,7 +204,6 @@ impl TmpComponent for Flex { // children here! let mut current_x_offset = 0; let mut current_y_offset = 0; - sizes .iter() .zip(children.iter_mut())