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:
Peter Penz 2008-05-20 18:17:20 +00:00
parent 068968d473
commit 7d69cd253d

View file

@ -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);