summary refs log tree commit diff
diff options
context:
space:
mode:
authorJezra <jezra@jezra.net>2013-05-03 10:22:25 -0700
committerJezra <jezra@jezra.net>2013-05-03 10:22:25 -0700
commit8fdc5cf0cdf84f25b84f9c0db003c1bc0f0d096e (patch)
tree8aea52a2d229a59172139665779e76995276c572
parentb9beddac50a0c26e05d699dd31ad7cc9b9cffcd4 (diff)
Control the size
-rw-r--r--GtkUI.py1
-rw-r--r--QtUI.py1
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)