From: Barış Metin Date: Wed, 8 Sep 2010 20:38:34 +0000 (+0200) Subject: fix layout X-Git-Tag: sface-0.1-1~89 X-Git-Url: http://git.onelab.eu/?p=sface.git;a=commitdiff_plain;h=4107f1e02b91e56ce5ee06f30bbf4d0ae180a3a9 fix layout --- diff --git a/sfaconfigscreen.py b/sfaconfigscreen.py index 24b325e..2ce3e1a 100644 --- a/sfaconfigscreen.py +++ b/sfaconfigscreen.py @@ -24,6 +24,7 @@ class ConfigWidget(QWidget): layout.addWidget(label2) layout.addWidget(self.slice) layout.addWidget(apply, 0, Qt.AlignRight) + layout.addStretch() self.setLayout(layout) self.connect(apply, SIGNAL('clicked()'), diff --git a/sfascreen.py b/sfascreen.py index 322856b..e1e9639 100644 --- a/sfascreen.py +++ b/sfascreen.py @@ -22,7 +22,6 @@ class SfaScreen(QWidget): layout = QVBoxLayout(self) layout.addWidget(self.label) layout.addWidget(self.widget) - layout.addStretch() self.setLayout(layout) diff --git a/sfawindow.py b/sfawindow.py index 726a75a..8fd484e 100644 --- a/sfawindow.py +++ b/sfawindow.py @@ -25,7 +25,6 @@ class SfaWindow(QWidget): layout = QVBoxLayout() layout.addWidget(self.switch) layout.addWidget(self.screens) - layout.addStretch() self.setLayout(layout) self.adjustSize()