exclude: fix layout
This commit is contained in:
parent
d5ec79e2ef
commit
a70cfe0e27
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user