From 89e9dc6feef1292dbc777a62bd35b5bed3e9f879 Mon Sep 17 00:00:00 2001 From: payno Date: Fri, 21 Jul 2023 08:44:55 +0200 Subject: [PATCH] Update src/silx/gui/utils/waiteroverlay.py Co-authored-by: Thomas VINCENT --- src/silx/gui/utils/waiteroverlay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/silx/gui/utils/waiteroverlay.py b/src/silx/gui/utils/waiteroverlay.py index 320060777e..2c8d8ea3ae 100644 --- a/src/silx/gui/utils/waiteroverlay.py +++ b/src/silx/gui/utils/waiteroverlay.py @@ -61,7 +61,7 @@ def _resize(self): rect = qt.QRect( qt.QPoint( int(left + width / 2 - size.width() / 2), - int(top - height / 2 + size.height() / 2), + int(top + height / 2 - size.height() / 2), ), size, )