diff options
author | Jezra <jezra@jezra.net> | 2013-05-03 10:22:25 -0700 |
---|---|---|
committer | Jezra <jezra@jezra.net> | 2013-05-03 10:22:25 -0700 |
commit | 8fdc5cf0cdf84f25b84f9c0db003c1bc0f0d096e (patch) | |
tree | 8aea52a2d229a59172139665779e76995276c572 /QtUI.py | |
parent | b9beddac50a0c26e05d699dd31ad7cc9b9cffcd4 (diff) |
Control the size
Diffstat (limited to 'QtUI.py')
-rw-r--r-- | QtUI.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |