From 3419a21db5c2d3d2efbdc15068a815600ff7cea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Le=20Guyader?= <loic.le.guyader@xfel.eu> Date: Tue, 15 Feb 2022 13:41:06 +0100 Subject: [PATCH] Fix zone plate height and width definition --- src/TZPGcalc/TZPGcalc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TZPGcalc/TZPGcalc.py b/src/TZPGcalc/TZPGcalc.py index cf6a17d..13131dd 100644 --- a/src/TZPGcalc/TZPGcalc.py +++ b/src/TZPGcalc/TZPGcalc.py @@ -715,7 +715,7 @@ class TZPGcalc(): style=style, layout=layout ) - self.widgets['TZPGwH'] = widgets.BoundedFloatText( + self.widgets['TZPGwV'] = widgets.BoundedFloatText( value=1.0, min=.1, max=3.0, @@ -724,7 +724,7 @@ class TZPGcalc(): style=style, layout=layout ) - self.widgets['TZPGwV'] = widgets.BoundedFloatText( + self.widgets['TZPGwH'] = widgets.BoundedFloatText( value=1.0, min=.1, max=3.0, -- GitLab