diff --git a/src/data.rs b/src/data.rs index 5b2c4c9d..777aebc5 100644 --- a/src/data.rs +++ b/src/data.rs @@ -432,8 +432,7 @@ impl Layout { &mut warning_handler, )) }); - ::layout::Row { - angle: 0, + layout::Row { buttons: add_offsets( buttons, |button| button.size.width, diff --git a/src/layout.rs b/src/layout.rs index 671e774a..763da87a 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -486,8 +486,6 @@ pub struct Button { pub struct Row { /// Buttons together with their offset from the left pub buttons: Vec<(f64, Box