Change panel layout. Add title and move back button

This commit is contained in:
Jordan Ruthe
2020-12-02 14:35:28 -05:00
parent 6d71022dbf
commit 08a7057668
25 changed files with 283 additions and 188 deletions

View File

@@ -165,10 +165,12 @@ class KlippyGtk:
return b
@staticmethod
def HomogeneousGrid():
def HomogeneousGrid(width=None, height=None):
g = Gtk.Grid()
g.set_row_homogeneous(True)
g.set_column_homogeneous(True)
if width != None and height != None:
g.set_size_request(width, height)
return g
@staticmethod