mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
Made the free space indicator and zoom slider a little bit larger. (was reduced by an older commit)
BUG: 339768 FIXED-IN: 4.14.3
This commit is contained in:
parent
ca6507b47c
commit
a58f159854
|
@ -114,14 +114,14 @@ DolphinStatusBar::DolphinStatusBar(QWidget* parent) :
|
||||||
m_label->setFixedHeight(contentHeight);
|
m_label->setFixedHeight(contentHeight);
|
||||||
m_label->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
m_label->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
|
|
||||||
m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
|
m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
|
||||||
|
|
||||||
m_spaceInfo->setFixedHeight(contentHeight);
|
m_spaceInfo->setFixedHeight(contentHeight);
|
||||||
m_spaceInfo->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
|
m_spaceInfo->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
|
||||||
m_spaceInfo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
m_spaceInfo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
|
|
||||||
m_progressBar->setFixedHeight(contentHeight);
|
m_progressBar->setFixedHeight(contentHeight);
|
||||||
m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
|
m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
|
||||||
|
|
||||||
QHBoxLayout* topLayout = new QHBoxLayout(this);
|
QHBoxLayout* topLayout = new QHBoxLayout(this);
|
||||||
topLayout->setMargin(0);
|
topLayout->setMargin(0);
|
||||||
|
|
Loading…
Reference in a new issue