From c88e843a34d132f3eb8154950126fb2bd19a32e1 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 20 May 2025 17:05:30 -0400 Subject: [PATCH] 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 de8c9f4878117d35d4a077d2e9f509aa2cea2e9d) --- src/chatbar/ChatBar.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chatbar/ChatBar.qml b/src/chatbar/ChatBar.qml index 51234f555..4af012435 100644 --- a/src/chatbar/ChatBar.qml +++ b/src/chatbar/ChatBar.qml @@ -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 }