Commit 4c0f1d9a authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Smaller icons in library widget

parent 64aa0b72
......@@ -187,6 +187,9 @@ LibraryWidget::LibraryWidget(ProjectManager *manager, QWidget *parent)
m_progressBar = new QProgressBar(this);
lay->addWidget(m_progressBar);
m_toolBar = new QToolBar(this);
m_toolBar->setToolButtonStyle(Qt::ToolButtonIconOnly);
int size = style()->pixelMetric(QStyle::PM_SmallIconSize);
m_toolBar->setIconSize(QSize(size, size));
m_progressBar->setRange(0, 100);
m_progressBar->setOrientation(Qt::Horizontal);
m_progressBar->setVisible(false);
......
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