mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Make zoom slider and free space bar a little smaller by default
This makes more room for the new explanatory label for the zoom slider. The zoom slider in particular was huge, and probably would have stood to be reduced in width anyway even if we didn't add an explanaory label.
This commit is contained in:
parent
0ba739c47e
commit
be73a01f48
|
@ -104,14 +104,14 @@ DolphinStatusBar::DolphinStatusBar(QWidget* parent) :
|
|||
m_label->setFixedHeight(contentHeight);
|
||||
m_label->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
|
||||
m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
|
||||
m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
|
||||
|
||||
m_spaceInfo->setFixedHeight(contentHeight);
|
||||
m_spaceInfo->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
|
||||
m_spaceInfo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||
|
||||
m_progressBar->setFixedHeight(zoomSliderHeight);
|
||||
m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
|
||||
m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 20);
|
||||
|
||||
QHBoxLayout* topLayout = new QHBoxLayout(this);
|
||||
topLayout->setContentsMargins(2, 0, 2, 0);
|
||||
|
|
Loading…
Reference in a new issue