Commit 43a53f29 authored by Tanbir Jishan's avatar Tanbir Jishan 💬 Committed by Nate Graham
Browse files

Fix the busy indicator not being centered properly

The busy indicator in the task manager does not take into account the amount
of margins and may look bad in larger spacing between icons. This issue seems
to be there out always but it is more apparent while using a larger spacing
between icons. The indicator should shift itself half the amount of margin
left or bottom depending on the panel type.
parent 4dbc85bd
......@@ -493,7 +493,11 @@ MouseArea {
Component {
id: busyIndicator
PlasmaComponents3.BusyIndicator { anchors.fill: parent }
PlasmaComponents3.BusyIndicator {
anchors.fill: parent
anchors.leftMargin: !tasks.vertical ? Math.round(LayoutManager.horizontalMargins() / 2) : 0
anchors.topMargin: tasks.vertical ? Math.round(LayoutManager.verticalMargins() / 2) : 0
}
}
}
......
Supports Markdown
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