- 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:
@@ -3565,8 +3565,6 @@ class MillingUI:
|
||||
|
||||
# Grid Layout
|
||||
grid0 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid0.setColumnStretch(0, 0)
|
||||
grid0.setColumnStretch(1, 1)
|
||||
obj_frame.setLayout(grid0)
|
||||
|
||||
self.target_label = FCLabel('%s:' % _("Type"))
|
||||
@@ -3605,8 +3603,6 @@ class MillingUI:
|
||||
|
||||
# Grid Layout
|
||||
grid_title_tool_table = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid_title_tool_table.setColumnStretch(0, 0)
|
||||
grid_title_tool_table.setColumnStretch(1, 1)
|
||||
self.tools_box.addLayout(grid_title_tool_table)
|
||||
|
||||
self.tools_table_label = FCLabel('<span style="color:green;"><b>%s</b></span>' % _('Tools Table'))
|
||||
@@ -3626,8 +3622,6 @@ class MillingUI:
|
||||
|
||||
# Grid Layout
|
||||
grid1 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid1.setColumnStretch(0, 0)
|
||||
grid1.setColumnStretch(1, 1)
|
||||
tt_frame.setLayout(grid1)
|
||||
|
||||
# ################################################
|
||||
@@ -3794,8 +3788,6 @@ class MillingUI:
|
||||
grid1.addWidget(self.add_tool_frame, 6, 0, 1, 2)
|
||||
|
||||
grid__add_tool = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid__add_tool.setColumnStretch(0, 0)
|
||||
grid__add_tool.setColumnStretch(1, 1)
|
||||
grid__add_tool.setContentsMargins(0, 0, 0, 0)
|
||||
self.add_tool_frame.setLayout(grid__add_tool)
|
||||
|
||||
@@ -3889,8 +3881,6 @@ class MillingUI:
|
||||
|
||||
# Grid Layout
|
||||
grid2 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid2.setColumnStretch(0, 0)
|
||||
grid2.setColumnStretch(1, 1)
|
||||
tp_frame.setLayout(grid2)
|
||||
|
||||
# Milling Type
|
||||
@@ -4331,8 +4321,6 @@ class MillingUI:
|
||||
self.tool_params_box.addWidget(gp_frame)
|
||||
|
||||
grid3 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid3.setColumnStretch(0, 0)
|
||||
grid3.setColumnStretch(1, 1)
|
||||
gp_frame.setLayout(grid3)
|
||||
|
||||
# Tool change Z:
|
||||
@@ -4546,8 +4534,6 @@ class MillingUI:
|
||||
self.exclusion_table.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectionBehavior.SelectRows)
|
||||
|
||||
grid_a1 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid_a1.setColumnStretch(0, 0)
|
||||
grid_a1.setColumnStretch(1, 1)
|
||||
self.exclusion_box.addLayout(grid_a1)
|
||||
|
||||
# Chose Strategy
|
||||
|
||||
Reference in New Issue
Block a user