From 2ca70770ddb679026940eb0fc273231409beb760 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Sun, 13 Sep 2009 19:52:50 +0000 Subject: [PATCH] add a stretch at the end of the dialog so making it bigger is less ugly BUG: 206856 svn path=/trunk/KDE/kdegraphics/okular/; revision=1023064 --- ui/propertiesdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/propertiesdialog.cpp b/ui/propertiesdialog.cpp index bf191f261..000ab1da1 100644 --- a/ui/propertiesdialog.cpp +++ b/ui/propertiesdialog.cpp @@ -133,6 +133,8 @@ PropertiesDialog::PropertiesDialog(QWidget *parent, Okular::Document *doc) m_fontProgressBar->hide(); } + layout->setRowStretch(layout->rowCount(), 1); + // current width: left columnt + right column + dialog borders int width = layout->minimumSize().width() + valMaxWidth + 2 * marginHint() + spacingHint() + 30; if ( page2Layout )