- 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

@@ -445,7 +445,7 @@ class CalcUI:
self.layout.addWidget(units_label)
# Grid Layout
grid_units_layout = FCGridLayout(v_spacing=3)
grid_units_layout = FCGridLayout(v_spacing=5, h_spacing=3)
self.layout.addLayout(grid_units_layout)
inch_label = FCLabel(_("INCH"))
@@ -470,7 +470,7 @@ class CalcUI:
# #############################################################################################################
# ################################ V-shape Tool Calculator ####################################################
# #############################################################################################################
grid_vshape = FCGridLayout(v_spacing=3)
grid_vshape = FCGridLayout(v_spacing=5, h_spacing=3)
grid_vshape.setColumnStretch(0, 0)
grid_vshape.setColumnStretch(1, 1)
self.layout.addLayout(grid_vshape)
@@ -546,7 +546,7 @@ class CalcUI:
# #############################################################################################################
# ############################## ElectroPlating Tool Calculator ###############################################
# #############################################################################################################
grid_electro = FCGridLayout(v_spacing=3)
grid_electro = FCGridLayout(v_spacing=5, h_spacing=3)
grid_electro.setColumnStretch(0, 0)
grid_electro.setColumnStretch(1, 1)