From 8033df8a239a3c7ec63b34831b101f9339bdccb5 Mon Sep 17 00:00:00 2001 From: David Hammer <dhammer@mailbox.org> Date: Fri, 30 Jun 2023 11:19:06 +0200 Subject: [PATCH] Fix scene layout --- src/calng/scenes.py | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/calng/scenes.py b/src/calng/scenes.py index 592faaac..01a97467 100644 --- a/src/calng/scenes.py +++ b/src/calng/scenes.py @@ -869,19 +869,14 @@ class RelativeGeometrySettings(VerticalLayout): ), HorizontalLayout( LabelModel( - text="Module offsets", width=4 * BASE_INC, height=BASE_INC + text="Module offsets", width=6 * BASE_INC, height=BASE_INC ), LabelModel(text="x", width=4 * BASE_INC, height=BASE_INC), LabelModel(text="y", width=4 * BASE_INC, height=BASE_INC), LabelModel(text="z", width=4 * BASE_INC, height=BASE_INC), - DoubleLineEditModel( - keys=[f"{device_id}.manualSetting.gap"], - width=4 * BASE_INC, - height=BASE_INC, - ), ), HorizontalLayout( - LabelModel(text="Top", width=4 * BASE_INC, height=BASE_INC), + LabelModel(text="Top", width=6 * BASE_INC, height=BASE_INC), DoubleLineEditModel( keys=[f"{device_id}.manualSetting.topOffset.x"], width=4 * BASE_INC, @@ -899,7 +894,7 @@ class RelativeGeometrySettings(VerticalLayout): ), ), HorizontalLayout( - LabelModel(text="Bottom", width=4 * BASE_INC, height=BASE_INC), + LabelModel(text="Bottom", width=6 * BASE_INC, height=BASE_INC), DoubleLineEditModel( keys=[f"{device_id}.manualSetting.bottomOffset.x"], width=4 * BASE_INC, @@ -916,7 +911,11 @@ class RelativeGeometrySettings(VerticalLayout): height=BASE_INC, ), ), - DisplayCommandModel(keys=[f"{device_id}.manualSetting.setManual"]), + DisplayCommandModel( + keys=[f"{device_id}.manualSetting.setManual"], + width=6 * BASE_INC, + height=BASE_INC, + ), ] ) -- GitLab