From a70cfe0e271bd11a49323b4a63d0d814ad94d3f3 Mon Sep 17 00:00:00 2001 From: alfrix Date: Wed, 18 Oct 2023 07:15:29 -0300 Subject: [PATCH] exclude: fix layout --- panels/exclude.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/exclude.py b/panels/exclude.py index ee026ebd..f0d92f73 100644 --- a/panels/exclude.py +++ b/panels/exclude.py @@ -44,7 +44,7 @@ class Panel(ScreenPanel): else: grid.attach(self.labels['map'], 0, 2, 1, 1) grid.attach(scroll, 1, 2, 1, 1) - scroll.set_size_request((self._screen.width - 30) // 2, -1) + scroll.set_size_request(self._gtk.content_width / 2 - 30, -1) else: grid.attach(scroll, 0, 2, 2, 1) scroll.set_size_request(self._gtk.content_width - 30, -1)