Commit f463775a authored by Volker Krause's avatar Volker Krause
Browse files

Force the todo completion progress bar to be rendered horizontally

parent afcacd2d
Pipeline #159166 passed with stage
in 1 minute and 36 seconds
......@@ -82,6 +82,7 @@ void TodoCompleteDelegate::initStyleOptionProgressBar(QStyleOptionProgressBar *o
option->text = index.data().toString() + QChar::fromLatin1('%');
option->textAlignment = Qt::AlignCenter;
option->textVisible = true;
option->state |= QStyle::State_Horizontal;
}
QWidget *TodoCompleteDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
......
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