From a9fdcb0fc42be7b8c13635554c98a769f4891003 Mon Sep 17 00:00:00 2001 From: ATATC Date: Wed, 14 Feb 2024 11:35:32 -0500 Subject: [PATCH] Bug fixed: grids do not fill the screen. --- leads_gui/prototype.py | 1 + 1 file changed, 1 insertion(+) diff --git a/leads_gui/prototype.py b/leads_gui/prototype.py index d8bcae1b..16bc622c 100644 --- a/leads_gui/prototype.py +++ b/leads_gui/prototype.py @@ -118,6 +118,7 @@ def parse_layout(self, layout: list[list[str | Widget]]) -> list[list[Widget]]: def layout(self, layout: list[list[str | Widget]]) -> None: layout = self.parse_layout(layout) t = _lcm(*tuple(map(len, layout))) + self.root().grid_columnconfigure(tuple(range(t)), weight=1) for i in range(len(layout)): row = layout[i] length = len(row)