layout: always set dialogs size (fullscreen does not always work)
This commit is contained in:
parent
6f32cdacbe
commit
ac33e8574e
@ -214,10 +214,8 @@ class KlippyGtk:
|
|||||||
dialog.set_resizable(False)
|
dialog.set_resizable(False)
|
||||||
dialog.set_transient_for(self.screen)
|
dialog.set_transient_for(self.screen)
|
||||||
dialog.set_modal(True)
|
dialog.set_modal(True)
|
||||||
if self.screen.windowed:
|
|
||||||
dialog.set_default_size(self.width, self.height)
|
dialog.set_default_size(self.width, self.height)
|
||||||
else:
|
if not self.screen.windowed:
|
||||||
logging.info("Dialog fullscreen")
|
|
||||||
dialog.fullscreen()
|
dialog.fullscreen()
|
||||||
|
|
||||||
for button in buttons:
|
for button in buttons:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user