diff options
-rw-r--r-- | GtkUI.py | 1 | ||||
-rw-r--r-- | QtUI.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/GtkUI.py b/GtkUI.py index d371aac..9d68fcc 100644 --- a/GtkUI.py +++ b/GtkUI.py @@ -19,6 +19,7 @@ class UI(gobject.GObject): self.window.connect("delete_event", self.delete_event) #give the window a name self.window.set_title("BlatherGtk") + self.window.set_resizable(False) layout = gtk.VBox() self.window.add(layout) diff --git a/QtUI.py b/QtUI.py index bfe2358..37910a5 100644 --- a/QtUI.py +++ b/QtUI.py @@ -21,6 +21,7 @@ class UI(gobject.GObject): self.window = QMainWindow() #give the window a name self.window.setWindowTitle("BlatherQt") + self.window.setMaximumSize(400,200) center = QWidget() self.window.setCentralWidget(center) |