Add padding around file progress indicator, move it to the center

Before it stuck to the top-left corner, and looked bad. Now it's
properly centered inside of the chat bar.
This commit is contained in:
Joshua Goins
2025-05-20 17:05:30 -04:00
parent f029cf842a
commit de8c9f4878

View File

@@ -355,11 +355,13 @@ QQC2.Control {
icon.name: modelData.isBusy ? "" : (modelData.icon.name.length > 0 ? modelData.icon.name : modelData.icon.source)
onClicked: modelData.trigger()
padding: Kirigami.Units.smallSpacing
QQC2.ToolTip.visible: hovered
QQC2.ToolTip.text: modelData.tooltip
QQC2.ToolTip.delay: Kirigami.Units.toolTipDelay
PieProgressBar {
contentItem: PieProgressBar {
visible: modelData.isBusy
progress: root.currentRoom.fileUploadingProgress
}