Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM EventViews
Commits
f463775a
Commit
f463775a
authored
Apr 03, 2022
by
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
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/todo/tododelegates.cpp
View file @
f463775a
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment