diff --git a/CHANGELOG.md b/CHANGELOG.md index 7450b5ec..1e8710e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ CHANGELOG for FlatCAM beta - minor change for the FCComboBox UI element by setting its size policy as ignored so it will not expand the notebook when the name of one of its items is very long - added a protection on opening the tools database UI if the tools DB file is not loaded - fixed NCC Tool not working with the new changes; the check for not having complete isolation is just a Warning +- fixed the sizePolicy for the FCComboBox widgets in the Preferences that holds the preprocessors 28.10.2020 diff --git a/appGUI/preferences/geometry/GeometryOptPrefGroupUI.py b/appGUI/preferences/geometry/GeometryOptPrefGroupUI.py index 7ca13738..187d585b 100644 --- a/appGUI/preferences/geometry/GeometryOptPrefGroupUI.py +++ b/appGUI/preferences/geometry/GeometryOptPrefGroupUI.py @@ -259,6 +259,7 @@ class GeometryOptPrefGroupUI(OptionsGroupUI): ) self.pp_geometry_name_cb = FCComboBox() self.pp_geometry_name_cb.setFocusPolicy(Qt.StrongFocus) + self.pp_geometry_name_cb.setSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Preferred) grid1.addWidget(pp_label, 13, 0) grid1.addWidget(self.pp_geometry_name_cb, 13, 1) diff --git a/appGUI/preferences/tools/ToolsDrillPrefGroupUI.py b/appGUI/preferences/tools/ToolsDrillPrefGroupUI.py index 810c28cf..b8e3dffa 100644 --- a/appGUI/preferences/tools/ToolsDrillPrefGroupUI.py +++ b/appGUI/preferences/tools/ToolsDrillPrefGroupUI.py @@ -226,6 +226,7 @@ class ToolsDrillPrefGroupUI(OptionsGroupUI): self.pp_excellon_name_cb = FCComboBox() self.pp_excellon_name_cb.setFocusPolicy(Qt.StrongFocus) + self.pp_excellon_name_cb.setSizePolicy(QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Preferred) grid0.addWidget(pp_excellon_label, 14, 0) grid0.addWidget(self.pp_excellon_name_cb, 14, 1, 1, 2)