- changed the spacings in the new custom Grid layout
This commit is contained in:
@@ -193,7 +193,7 @@ class ToolsDB2UI:
|
||||
# ###########################################################################
|
||||
# ################ Tool UI form #############################################
|
||||
# ###########################################################################
|
||||
self.grid_tool = FCGridLayout(v_spacing=3)
|
||||
self.grid_tool = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.description_vlay.addLayout(self.grid_tool)
|
||||
self.grid_tool.setColumnStretch(0, 0)
|
||||
self.grid_tool.setColumnStretch(1, 1)
|
||||
@@ -277,7 +277,7 @@ class ToolsDB2UI:
|
||||
# ###########################################################################
|
||||
# ############### MILLING UI form ###########################################
|
||||
# ###########################################################################
|
||||
self.grid0 = FCGridLayout(v_spacing=3)
|
||||
self.grid0 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.milling_vlay.addLayout(self.grid0)
|
||||
self.grid0.setColumnStretch(0, 0)
|
||||
self.grid0.setColumnStretch(1, 1)
|
||||
@@ -576,7 +576,7 @@ class ToolsDB2UI:
|
||||
# ############### NCC UI form ###############################################
|
||||
# ###########################################################################
|
||||
|
||||
self.grid2 = FCGridLayout(v_spacing=3)
|
||||
self.grid2 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.ncc_vlay.addLayout(self.grid2)
|
||||
self.grid2.setColumnStretch(0, 0)
|
||||
self.grid2.setColumnStretch(1, 1)
|
||||
@@ -722,7 +722,7 @@ class ToolsDB2UI:
|
||||
# ############### Paint UI form #############################################
|
||||
# ###########################################################################
|
||||
|
||||
self.grid3 = FCGridLayout(v_spacing=3)
|
||||
self.grid3 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.paint_vlay.addLayout(self.grid3)
|
||||
self.grid3.setColumnStretch(0, 0)
|
||||
self.grid3.setColumnStretch(1, 1)
|
||||
@@ -811,7 +811,7 @@ class ToolsDB2UI:
|
||||
# ############### Isolation UI form #########################################
|
||||
# ###########################################################################
|
||||
|
||||
self.grid4 = FCGridLayout(v_spacing=3)
|
||||
self.grid4 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.iso_vlay.addLayout(self.grid4)
|
||||
self.grid4.setColumnStretch(0, 0)
|
||||
self.grid4.setColumnStretch(1, 1)
|
||||
@@ -888,7 +888,7 @@ class ToolsDB2UI:
|
||||
# ###########################################################################
|
||||
# ################ DRILLING UI form #########################################
|
||||
# ###########################################################################
|
||||
self.grid5 = FCGridLayout(v_spacing=3)
|
||||
self.grid5 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.drill_vlay.addLayout(self.grid5)
|
||||
self.grid5.setColumnStretch(0, 0)
|
||||
self.grid5.setColumnStretch(1, 1)
|
||||
@@ -1113,7 +1113,7 @@ class ToolsDB2UI:
|
||||
# ###########################################################################
|
||||
# ################### Cutout UI form ########################################
|
||||
# ###########################################################################
|
||||
self.grid6 = FCGridLayout(v_spacing=3)
|
||||
self.grid6 = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
self.cutout_vlay.addLayout(self.grid6)
|
||||
self.grid6.setColumnStretch(0, 0)
|
||||
self.grid6.setColumnStretch(1, 1)
|
||||
@@ -1399,7 +1399,7 @@ class ToolsDB2(QtWidgets.QWidget):
|
||||
# TOOLS DATABASE UI
|
||||
# ##############################################################################
|
||||
# ##############################################################################
|
||||
layout = FCGridLayout(v_spacing=3)
|
||||
layout = FCGridLayout(v_spacing=5, h_spacing=3)
|
||||
layout.setColumnStretch(0, 0)
|
||||
layout.setColumnStretch(1, 1)
|
||||
self.setLayout(layout)
|
||||
|
||||
Reference in New Issue
Block a user