diff --git a/main.py b/main.py index 2468382..f9a853c 100644 --- a/main.py +++ b/main.py @@ -23,6 +23,11 @@ class Main: for row in ["First Button", "Second", "Third"]: self.add_button(row) + # Note: the UI size request is 360x720, same resolution as + # the Pinephone screen, but this is too big for the window to + # be. As workaround, we reset the size request very small and maximize + # the window. + self.mw.set_size_request(360, 200) self.mw.maximize() self.mw.show_all() diff --git a/ui/app.glade b/ui/app.glade index 59873a5..ec36474 100644 --- a/ui/app.glade +++ b/ui/app.glade @@ -125,7 +125,7 @@ 360 - 550 + 720 False False