diff --git a/xilem/examples/calc.rs b/xilem/examples/calc.rs index c31f0bc93..57f0b58ab 100644 --- a/xilem/examples/calc.rs +++ b/xilem/examples/calc.rs @@ -192,6 +192,7 @@ fn app_logic(data: &mut Calculator) -> impl WidgetView { nums.map(|num| digit_button(num).flex(1.)), operator_button(operator).flex(1.), )) + .flex(1.0) }; flex(( // Display