From 4107f1e02b91e56ce5ee06f30bbf4d0ae180a3a9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Wed, 8 Sep 2010 22:38:34 +0200 Subject: [PATCH] fix layout --- sfaconfigscreen.py | 1 + sfascreen.py | 1 - sfawindow.py | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) 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() -- 2.43.0