Commit 2c76d412 authored by Bharat kalluri's avatar Bharat kalluri

Fix too small window when unmaximizing

Closes: #91
parent 8d1d535e
......@@ -18,11 +18,7 @@ class Window(Gtk.ApplicationWindow):
Gtk.ApplicationWindow.__init__(self,
application=app,
show_menubar=False)
if Gdk.Screen.get_default().get_height() < 800:
self.maximize()
else:
self.set_size_request(950, 700)
self.set_size_request(950, 700)
self.set_position(Gtk.WindowPosition.CENTER)
self.set_icon_name("org.gnome.tweaks")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment