- changed the spacings in the new custom Grid layout

This commit is contained in:
Marius Stanciu
2021-08-07 11:58:11 +03:00
committed by Marius
parent 461aa763ad
commit 2daf191948
86 changed files with 185 additions and 181 deletions

View File

@@ -3261,7 +3261,7 @@ class IsoUI:
"B = ball tip milling tool\n"
"V = v-shape milling tool"))
grid1 = FCGridLayout(v_spacing=3)
grid1 = FCGridLayout(v_spacing=5, h_spacing=3)
grid1.setColumnStretch(0, 0)
grid1.setColumnStretch(1, 1)
self.tools_box.addLayout(grid1)
@@ -3291,7 +3291,7 @@ class IsoUI:
# ############### Tool adding #################################
# #############################################################
self.grid3 = FCGridLayout(v_spacing=3)
self.grid3 = FCGridLayout(v_spacing=5, h_spacing=3)
self.grid3.setColumnStretch(0, 0)
self.grid3.setColumnStretch(1, 1)
self.tools_box.addLayout(self.grid3)
@@ -3332,7 +3332,7 @@ class IsoUI:
# #############################################################################################################
# ################################ Button Grid ###########################################################
# #############################################################################################################
button_grid = FCGridLayout(v_spacing=3)
button_grid = FCGridLayout(v_spacing=5, h_spacing=3)
button_grid.setColumnStretch(0, 1)
button_grid.setColumnStretch(1, 0)
self.grid3.addLayout(button_grid, 7, 0, 1, 2)