fix dialogs sometimes getting larger than desired
This commit is contained in:
1 parent
e112786c02
commit
792fcb80c5
1 file changed
+1
@@ -208,6 +208,7 @@ class KlippyGtk:
|
||||
def Dialog(self, title, buttons, content, callback=None, *args):
|
||||
dialog = Gtk.Dialog(title=title, modal=True, transient_for=self.screen,
|
||||
default_width=self.width, default_height=self.height)
|
||||
dialog.set_size_request(self.width, self.height)
|
||||
if not self.screen.windowed:
|
||||
dialog.fullscreen()
|
||||
|
||||
|
||||
Reference in new issue
Block a user