- 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:
@@ -4063,8 +4063,6 @@ class AppExcEditorUI:
|
||||
# ######################## ADD New Tool Grid ##################################################################
|
||||
# #############################################################################################################
|
||||
grid1 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid1.setColumnStretch(0, 0)
|
||||
grid1.setColumnStretch(1, 1)
|
||||
self.ui_vertical_lay.addLayout(grid1)
|
||||
|
||||
# Tool Diameter Label
|
||||
@@ -4117,8 +4115,6 @@ class AppExcEditorUI:
|
||||
self.ui_vertical_lay.addWidget(self.resize_frame)
|
||||
|
||||
self.resize_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.resize_grid.setColumnStretch(0, 0)
|
||||
self.resize_grid.setColumnStretch(1, 1)
|
||||
self.resize_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.resize_frame.setLayout(self.resize_grid)
|
||||
|
||||
@@ -4173,8 +4169,6 @@ class AppExcEditorUI:
|
||||
self.ui_vertical_lay.addWidget(self.array_frame)
|
||||
|
||||
self.array_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.array_grid.setColumnStretch(0, 0)
|
||||
self.array_grid.setColumnStretch(1, 1)
|
||||
self.array_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.array_frame.setLayout(self.array_grid)
|
||||
|
||||
@@ -4216,8 +4210,6 @@ class AppExcEditorUI:
|
||||
self.array_linear_frame.setContentsMargins(0, 0, 0, 0)
|
||||
self.array_grid.addWidget(self.array_linear_frame, 6, 0, 1, 2)
|
||||
self.lin_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.lin_grid.setColumnStretch(0, 0)
|
||||
self.lin_grid.setColumnStretch(1, 1)
|
||||
self.lin_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.array_linear_frame.setLayout(self.lin_grid)
|
||||
|
||||
@@ -4275,8 +4267,6 @@ class AppExcEditorUI:
|
||||
self.array_grid.addWidget(self.array_circular_frame, 8, 0, 1, 2)
|
||||
|
||||
self.circ_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.circ_grid.setColumnStretch(0, 0)
|
||||
self.circ_grid.setColumnStretch(1, 1)
|
||||
self.circ_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.array_circular_frame.setLayout(self.circ_grid)
|
||||
|
||||
@@ -4319,8 +4309,6 @@ class AppExcEditorUI:
|
||||
self.ui_vertical_lay.addWidget(self.slot_frame)
|
||||
|
||||
self.slot_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.slot_grid.setColumnStretch(0, 0)
|
||||
self.slot_grid.setColumnStretch(1, 1)
|
||||
self.slot_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.slot_frame.setLayout(self.slot_grid)
|
||||
|
||||
@@ -4393,8 +4381,6 @@ class AppExcEditorUI:
|
||||
self.ui_vertical_lay.addWidget(self.slot_array_frame)
|
||||
|
||||
self.slot_array_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.slot_array_grid.setColumnStretch(0, 0)
|
||||
self.slot_array_grid.setColumnStretch(1, 1)
|
||||
self.slot_array_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.slot_array_frame.setLayout(self.slot_array_grid)
|
||||
|
||||
@@ -4437,8 +4423,6 @@ class AppExcEditorUI:
|
||||
self.slot_array_grid.addWidget(self.slot_array_linear_frame, 6, 0, 1, 2)
|
||||
|
||||
self.slot_array_lin_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.slot_array_lin_grid.setColumnStretch(0, 0)
|
||||
self.slot_array_lin_grid.setColumnStretch(1, 1)
|
||||
self.slot_array_lin_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.slot_array_linear_frame.setLayout(self.slot_array_lin_grid)
|
||||
|
||||
@@ -4497,8 +4481,6 @@ class AppExcEditorUI:
|
||||
self.slot_array_grid.addWidget(self.slot_array_circular_frame, 8, 0, 1, 2)
|
||||
|
||||
self.slot_array_circ_grid = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.slot_array_circ_grid.setColumnStretch(0, 0)
|
||||
self.slot_array_circ_grid.setColumnStretch(1, 1)
|
||||
self.slot_array_circ_grid.setContentsMargins(0, 0, 0, 0)
|
||||
self.slot_array_circular_frame.setLayout(self.slot_array_circ_grid)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user