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.

(cherry picked from commit de8c9f4878)
This commit is contained in:
Joshua Goins
2025-05-20 17:05:30 -04:00
parent 702d17bc4d
commit c88e843a34

View File

@@ -315,11 +315,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
}