- 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:
@@ -2302,8 +2302,6 @@ class DrillingUI:
|
||||
|
||||
# Grid Layout
|
||||
grid0 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid0.setColumnStretch(0, 0)
|
||||
grid0.setColumnStretch(1, 1)
|
||||
self.tools_box.addLayout(grid0)
|
||||
|
||||
# ################################################
|
||||
@@ -2333,9 +2331,7 @@ class DrillingUI:
|
||||
self.tools_box.addWidget(tt_frame)
|
||||
|
||||
# Grid Layout
|
||||
grid1 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
# grid1.setColumnStretch(0, 0)
|
||||
# grid1.setColumnStretch(1, 1)
|
||||
grid1 = FCGridLayout(v_spacing=5, h_spacing=3, c_stretch=[0, 0])
|
||||
tt_frame.setLayout(grid1)
|
||||
|
||||
self.tools_table = FCTable(drag_drop=True)
|
||||
@@ -2416,8 +2412,6 @@ class DrillingUI:
|
||||
|
||||
# Grid Layout
|
||||
grid2 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
grid2.setColumnStretch(0, 0)
|
||||
grid2.setColumnStretch(1, 1)
|
||||
tp_frame.setLayout(grid2)
|
||||
|
||||
# Cut Z
|
||||
@@ -2641,8 +2635,6 @@ class DrillingUI:
|
||||
self.exc_tools_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
|
||||
@@ -2822,8 +2814,6 @@ class DrillingUI:
|
||||
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