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

Make progress bar for effects more visible (for ex. in motion tracker)

parent 17e85bcf
Pipeline #156534 passed with stage
in 15 minutes and 1 second
......@@ -72,6 +72,7 @@ ButtonParamWidget::ButtonParamWidget(std::shared_ptr<AssetParameterModel> model,
m_progress = new QProgressBar(this);
m_progress->setMaximumHeight(m_button->height() / 5);
m_progress->setTextVisible(false);
m_progress->setStyleSheet(QString("QProgressBar::chunk {background-color: %1;}").arg(m_progress->palette().highlight().color().name()));
layout->addWidget(m_progress);
m_progress->setVisible(false);
setMinimumHeight(m_button->sizeHint().height() + (m_label != nullptr ? m_label->sizeHint().height() : 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