From eb1ba121a23a25f53a4802dbb08b4f9e2a96d503 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 30 Apr 2021 15:58:33 +0200 Subject: [PATCH] Fix the size of the check boxes in the settings page In the first row the check box is smaller than elsewhere. The standard height used for spin boxes and combo boxes is 32px, so check boxes should have the same. Otherwise there are only labels on that layout row and those should have a flexible height. --- examples/printerdemo/ui/common.60 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/printerdemo/ui/common.60 b/examples/printerdemo/ui/common.60 index 2048de395..5b3a62f5a 100644 --- a/examples/printerdemo/ui/common.60 +++ b/examples/printerdemo/ui/common.60 @@ -247,10 +247,11 @@ export CheckBox := Rectangle { property checked; property text; + height: 32px; + HorizontalLayout { spacing: 12px; padding: 0; - height: 32px; SquareButton { img: checked ? @image-url("images/check.svg") : @image-url(""); clicked => { checked = !checked; }