- created a new custom layout based on the Grid Layout where I can set the horizontal and vertical spacings between grid items and used it throughout the app
This commit is contained in:
@@ -14,6 +14,7 @@ import appTranslation as fcTranslate
|
||||
import builtins
|
||||
|
||||
from appGUI.preferences.OptionUI import OptionUI
|
||||
from appGUI.GUIElements import FCGridLayout
|
||||
|
||||
fcTranslate.apply_language('strings')
|
||||
if '_' not in builtins.__dict__:
|
||||
@@ -47,7 +48,7 @@ class OptionsGroupUI2(OptionsGroupUI):
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
|
||||
self.grid = QtWidgets.QGridLayout()
|
||||
self.grid = FCGridLayout(v_spacing=3)
|
||||
self.layout.addLayout(self.grid)
|
||||
self.grid.setColumnStretch(0, 0)
|
||||
self.grid.setColumnStretch(1, 1)
|
||||
|
||||
Reference in New Issue
Block a user