From 5bfec7ca67e2425e9c4fa6846d30966be7330af7 Mon Sep 17 00:00:00 2001 From: Dominik Wilkowski Date: Sun, 25 Sep 2022 18:59:15 +1000 Subject: [PATCH] fixed #59 --- examples/todos_list/preferences/toggle_option_view.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/todos_list/preferences/toggle_option_view.rs b/examples/todos_list/preferences/toggle_option_view.rs index c3a1754..517fb5f 100644 --- a/examples/todos_list/preferences/toggle_option_view.rs +++ b/examples/todos_list/preferences/toggle_option_view.rs @@ -37,7 +37,8 @@ impl Default for ToggleOptionView { subtitle.top.constraint_equal_to(&title.bottom), subtitle.leading.constraint_equal_to(&switch.trailing), subtitle.trailing.constraint_equal_to(&view.trailing), - subtitle.bottom.constraint_equal_to(&view.bottom) + subtitle.bottom.constraint_equal_to(&view.bottom), + subtitle.width.constraint_greater_than_or_equal_to_constant(200.) ]); ToggleOptionView {