exclude: fix list width if no polygons are provided
This commit is contained in:
@@ -56,6 +56,7 @@ class ExcludeObjectPanel(ScreenPanel):
|
|||||||
scroll.set_size_request((self._screen.width * .9) // 2, -1)
|
scroll.set_size_request((self._screen.width * .9) // 2, -1)
|
||||||
else:
|
else:
|
||||||
grid.attach(scroll, 0, 2, 2, 1)
|
grid.attach(scroll, 0, 2, 2, 1)
|
||||||
|
scroll.set_size_request(self._gtk.get_content_width(), -1)
|
||||||
|
|
||||||
self.content.add(grid)
|
self.content.add(grid)
|
||||||
self.content.show_all()
|
self.content.show_all()
|
||||||
|
Reference in New Issue
Block a user