From: Peter Penz Date: Tue, 20 May 2008 18:17:20 +0000 (+0000) Subject: The Oxygen style provides now a nicer progress bar -> increase the content height... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/6ff3344adcf70f15edc9c61517f7eb36b0eaf0b6?ds=inline 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 --- diff --git a/src/dolphinstatusbar.cpp b/src/dolphinstatusbar.cpp index df67ac28f..84012e438 100644 --- a/src/dolphinstatusbar.cpp +++ b/src/dolphinstatusbar.cpp @@ -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);