- 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

@@ -4142,8 +4142,6 @@ class NccUI:
# Grid Layout
grid0 = FCGridLayout(v_spacing=5, h_spacing=3)
grid0.setColumnStretch(0, 0)
grid0.setColumnStretch(1, 1)
obj_frame.setLayout(grid0)
# #############################################################################################################
@@ -4195,8 +4193,6 @@ class NccUI:
# Grid Layout
grid1 = FCGridLayout(v_spacing=5, h_spacing=3)
grid1.setColumnStretch(0, 0)
grid1.setColumnStretch(1, 1)
tt_frame.setLayout(grid1)
self.tools_table = FCTable(drag_drop=True)
@@ -4259,8 +4255,6 @@ class NccUI:
grid1.addWidget(self.add_tool_frame, 6, 0, 1, 2)
new_tool_grid = FCGridLayout(v_spacing=5, h_spacing=3)
new_tool_grid.setColumnStretch(0, 0)
new_tool_grid.setColumnStretch(1, 1)
new_tool_grid.setContentsMargins(0, 0, 0, 0)
self.add_tool_frame.setLayout(new_tool_grid)
@@ -4362,8 +4356,6 @@ class NccUI:
self.tools_box.addWidget(tt_frame)
par_grid = FCGridLayout(v_spacing=5, h_spacing=3)
par_grid.setColumnStretch(0, 0)
par_grid.setColumnStretch(1, 1)
tt_frame.setLayout(par_grid)
# Operation
@@ -4537,8 +4529,6 @@ class NccUI:
self.tools_box.addWidget(gp_frame)
gen_grid = FCGridLayout(v_spacing=5, h_spacing=3)
gen_grid.setColumnStretch(0, 0)
gen_grid.setColumnStretch(1, 1)
gp_frame.setLayout(gen_grid)
# Rest Machining