Commit be73a01f authored by Nate Graham's avatar Nate Graham 🔩 Committed by Elvis Angelaccio
Browse files

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.
parent 0ba739c4
Pipeline #48457 passed with stage
in 6 minutes and 55 seconds
......@@ -104,14 +104,14 @@ DolphinStatusBar::DolphinStatusBar(QWidget* parent) :
m_label->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
m_zoomSlider->setMaximumWidth(fontMetrics.averageCharWidth() * 15);
m_spaceInfo->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
m_spaceInfo->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 25);
m_progressBar->setMaximumWidth(fontMetrics.averageCharWidth() * 20);
QHBoxLayout* topLayout = new QHBoxLayout(this);
topLayout->setContentsMargins(2, 0, 2, 0);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment