splash_screen: tweak layout sizes and remove get_allocation that can cause isssues
fixes #813 gtk: fix content_width while vertical returning 0
This commit is contained in:
@@ -47,7 +47,7 @@ class ExcludeObjectPanel(ScreenPanel):
|
||||
if self._screen.vertical_mode:
|
||||
grid.attach(self.labels['map'], 0, 2, 2, 1)
|
||||
grid.attach(scroll, 0, 3, 2, 1)
|
||||
scroll.set_size_request(self._screen.width, -1)
|
||||
scroll.set_size_request(self._gtk.get_content_width(), -1)
|
||||
else:
|
||||
grid.attach(self.labels['map'], 0, 2, 1, 1)
|
||||
grid.attach(scroll, 1, 2, 1, 1)
|
||||
|
Reference in New Issue
Block a user