[Pkg-owncloud-commits] [owncloud-client] 372/498: OS X: Fix layout of quota info in SettingsDialog

Sandro Knauß hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:07 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit a58cb049b296e05f929cb6a999187b03a7589d41
Author: Markus Goetz <markus at woboq.com>
Date:   Mon Jul 20 18:43:18 2015 +0200

    OS X: Fix layout of quota info in SettingsDialog
---
 src/gui/accountsettings.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/gui/accountsettings.cpp b/src/gui/accountsettings.cpp
index 1af4d76..8fce5aa 100644
--- a/src/gui/accountsettings.cpp
+++ b/src/gui/accountsettings.cpp
@@ -117,7 +117,10 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) :
     ui->quotaInfoLabel->setFont(smallFont);
 
     _quotaLabel = new QLabel(ui->quotaProgressBar);
-    (new QVBoxLayout(ui->quotaProgressBar))->addWidget(_quotaLabel);
+    QVBoxLayout *quotaProgressLayout = new QVBoxLayout(ui->quotaProgressBar);
+    quotaProgressLayout->setContentsMargins(-1,0,-1,0);
+    quotaProgressLayout->setSpacing(0);
+    quotaProgressLayout->addWidget(_quotaLabel);
 
     // This ensures the progress bar is big enough for the label.
     ui->quotaProgressBar->setMinimumHeight(_quotaLabel->height());

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list