Improve expanding layout in UI config

This commit is contained in:
lupoDharkael
2017-07-31 18:07:27 +02:00
parent 162bd5f543
commit 3e7e6d1652
3 changed files with 22 additions and 18 deletions

View File

@@ -60,7 +60,7 @@ void ButtonListView::initButtonList() {
m_buttonItem->setFlags(Qt::ItemIsUserCheckable);
QColor foregroundColor = this->palette().color(QWidget::foregroundRole());
m_buttonItem->setTextColor(foregroundColor);
m_buttonItem->setForeground(foregroundColor);
m_buttonItem->setText(tool->getName());
m_buttonItem->setToolTip(tool->getDescription());