From 83bc4f497654a1c8b42059fbe4cbd1376a2f7c91 Mon Sep 17 00:00:00 2001 From: Lawrence Hudson Date: Fri, 20 May 2016 12:12:36 +0100 Subject: [PATCH] Fixed width cookie cutter --- inselect/gui/main_window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/inselect/gui/main_window.py b/inselect/gui/main_window.py index 0ca659c..cbddda9 100644 --- a/inselect/gui/main_window.py +++ b/inselect/gui/main_window.py @@ -1277,6 +1277,7 @@ def button(action=None, icon=None, text=None, menu=None, tooltip=None): icon=load_icon(':/icons/cookie_cutter.png'), text='Cookie cutter', menu=self.cookie_cutter_widget.popup, tooltip='Cookie cutter' ) + self.cookie_cutter_button.setFixedWidth(250) block.addWidget(self.cookie_cutter_button, 1, 0, 1, 2) block.addWidget(QLabel('Boxes'), 2, 0, 1, 2, Qt.AlignHCenter) block.setContentsMargins(0, 0, 0, 0)