From f14f494feed0384f7025189d000f749a36b61101 Mon Sep 17 00:00:00 2001 From: Jordan Ruthe Date: Fri, 26 Feb 2021 10:52:55 -0500 Subject: [PATCH] splash_screen: fix issue with message popup --- panels/splash_screen.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/panels/splash_screen.py b/panels/splash_screen.py index e80beb97..5ea43213 100644 --- a/panels/splash_screen.py +++ b/panels/splash_screen.py @@ -13,6 +13,12 @@ def create_panel(*args): class SplashScreenPanel(ScreenPanel): box = None + def __init__(self, screen, title, back=True): + super().__init__(screen, title, back) + + self.layout = Gtk.Layout() + self.layout.set_size(self._screen.width, self._screen.height) + def initialize(self, panel_name): _ = self.lang.gettext @@ -39,8 +45,9 @@ class SplashScreenPanel(ScreenPanel): box = Gtk.VBox() box.add(main) + box.set_size_request(self._screen.width, self._screen.height) - self.layout = box + self.layout.put(box, 0, 0) def update_text(self, text): self.labels['text'].set_text(text)