From 6ff3344adcf70f15edc9c61517f7eb36b0eaf0b6 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 20 May 2008 18:17:20 +0000 Subject: 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 --- src/dolphinstatusbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.3