From fd99e982d6f49c21a1cfd7c8c7f51e6ccfe44f00 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 5 Dec 2019 00:42:28 +0200 Subject: [PATCH] - small fix in the GUI layout in Gerber Editor --- README.md | 1 + flatcamEditors/FlatCAMGrbEditor.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index bc389207..ba6243eb 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ CAD program, and create G-Code for Isolation routing. - modified the GUI in all tools making the text of the buttons bold and adding a new button named Reset Tool which have to reset the tool GUI and variables (need to check all tools to see if happen) - when the Tool tab is in focus, clicking on canvas will no longer change the focus to Project tab - Copper Thieving Tool - when creating the pattern platting mask will make a new Gerber object with it +- small fix in the GUI layout in Gerber Editor 3.12.2019 diff --git a/flatcamEditors/FlatCAMGrbEditor.py b/flatcamEditors/FlatCAMGrbEditor.py index 4194c235..f6592933 100644 --- a/flatcamEditors/FlatCAMGrbEditor.py +++ b/flatcamEditors/FlatCAMGrbEditor.py @@ -2360,6 +2360,7 @@ class FlatCAMGrbEditor(QtCore.QObject): self.units = self.app.defaults['units'].upper() self.grb_edit_widget = QtWidgets.QWidget() + layout = QtWidgets.QVBoxLayout() self.grb_edit_widget.setLayout(layout) @@ -2439,6 +2440,8 @@ class FlatCAMGrbEditor(QtCore.QObject): grid1 = QtWidgets.QGridLayout() self.apertures_box.addLayout(grid1) + grid1.setColumnStretch(0, 0) + grid1.setColumnStretch(1, 1) apcode_lbl = QtWidgets.QLabel('%s:' % _('Aperture Code')) apcode_lbl.setToolTip(_("Code for the new aperture"))