diff options
| author | Peter Penz <[email protected]> | 2008-05-20 18:17:20 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-05-20 18:17:20 +0000 |
| commit | 6ff3344adcf70f15edc9c61517f7eb36b0eaf0b6 (patch) | |
| tree | f720200afdc8e459a3b29a92f6e985329001b208 | |
| parent | 05062b63462a0c0e6418d6336afcaa2384da8455 (diff) | |
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
| -rw-r--r-- | src/dolphinstatusbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
