mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 17:37:36 +03:00
OS X: Fix layout of quota info in SettingsDialog
This commit is contained in:
parent
a6f493ff94
commit
a58cb049b2
1 changed files with 4 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue