mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
QuotaInfo: Ensure label fits into progress bar. #3393
This commit is contained in:
parent
e88ce41f4f
commit
4420d52919
@ -119,6 +119,9 @@ AccountSettings::AccountSettings(AccountState *accountState, QWidget *parent) :
|
||||
_quotaLabel = new QLabel(ui->quotaProgressBar);
|
||||
(new QVBoxLayout(ui->quotaProgressBar))->addWidget(_quotaLabel);
|
||||
|
||||
// This ensures the progress bar is big enough for the label.
|
||||
ui->quotaProgressBar->setMinimumHeight(_quotaLabel->height());
|
||||
|
||||
ui->connectLabel->setText(tr("No account configured."));
|
||||
|
||||
connect(_accountState, SIGNAL(stateChanged(int)), SLOT(slotAccountStateChanged(int)));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user