From c104c26c74883a7aef53de1cd37c51943c37c670 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 28 Apr 2021 11:54:49 +0200 Subject: [PATCH] use main btn height instead of frame height --- igniter/install_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/igniter/install_dialog.py b/igniter/install_dialog.py index 14ad7153d7..0f788b97ce 100644 --- a/igniter/install_dialog.py +++ b/igniter/install_dialog.py @@ -75,7 +75,7 @@ class ButtonWithOptions(QtWidgets.QFrame): def resizeEvent(self, event): super(ButtonWithOptions, self).resizeEvent(event) - self.options_btn.setFixedHeight(self.height()) + self.options_btn.setFixedHeight(self.main_btn.height()) def _on_options_click(self): point = self.mapToGlobal(self.rect().bottomLeft())