mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 08:51:24 +00:00
The Oxygen style provides now a nicer progress bar -> increase the content height of the statusbar so that no text is cut (tested also with other styles)
svn path=/trunk/KDE/kdebase/apps/; revision=810430
This commit is contained in:
parent
068968d473
commit
7d69cd253d
|
@ -51,8 +51,8 @@ DolphinStatusBar::DolphinStatusBar(QWidget* parent, const KUrl& url) :
|
|||
m_progressBar = new QProgressBar(this);
|
||||
m_progressBar->hide();
|
||||
|
||||
const int contentHeight = QFontMetrics(m_messageLabel->font()).height();
|
||||
const int barHeight = contentHeight + 8;
|
||||
const int contentHeight = QFontMetrics(m_messageLabel->font()).height() + 4;
|
||||
const int barHeight = contentHeight + 4;
|
||||
|
||||
setMinimumHeight(barHeight);
|
||||
m_messageLabel->setMinimumTextHeight(barHeight);
|
||||
|
|
Loading…
Reference in a new issue