- on Coppper Thieving Plugin some UI updates

- updated the GCGridLayout GUi element to automatically stretch the first column but offered also configuration; updated the use throughout the app
This commit is contained in:
Marius Stanciu
2021-09-09 16:28:14 +03:00
parent d61bbbb8d5
commit 241579d670
75 changed files with 222 additions and 558 deletions

View File

@@ -1193,8 +1193,6 @@ class SolderUI:
# ## Form Layout
obj_form_layout = FCGridLayout(v_spacing=5, h_spacing=3)
obj_form_layout.setColumnStretch(0, 0)
obj_form_layout.setColumnStretch(1, 1)
self.layout.addLayout(obj_form_layout)
# ## Gerber Object to be used for solderpaste dispensing
@@ -1245,8 +1243,6 @@ class SolderUI:
# ### Add a new Tool ## ##
grid0 = FCGridLayout(v_spacing=5, h_spacing=3)
grid0.setColumnStretch(0, 0)
grid0.setColumnStretch(1, 1)
self.layout.addLayout(grid0)
self.addtool_entry_lbl = FCLabel('<b>%s:</b>' % _('New Tool'))
@@ -1504,8 +1500,6 @@ class SolderUI:
# Buttons Grid
self.button_grid = FCGridLayout(v_spacing=5, h_spacing=3)
self.button_grid.setColumnStretch(0, 0)
self.button_grid.setColumnStretch(1, 1)
self.tool_box.addLayout(self.button_grid)
# Generate Geometry