fix: FluProgressRing可以修改大小

main
runhey 2023-05-11 21:18:34 +08:00
parent eaad0dc565
commit 8668e39446
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import FluentUI
Rectangle { Rectangle {
property real linWidth : 5 property real linWidth : width/8
property real progress: 0.25 property real progress: 0.25
property bool indeterminate: true property bool indeterminate: true
readonly property real radius2 : radius - linWidth/2 readonly property real radius2 : radius - linWidth/2
@ -13,7 +13,7 @@ Rectangle {
id: control id: control
width: 44 width: 44
height: 44 height: 44
radius: 22 radius: width/2
border.width: linWidth border.width: linWidth
color: "#00000000" color: "#00000000"
border.color: FluTheme.dark ? Qt.rgba(99/255,99/255,99/255,1) : Qt.rgba(214/255,214/255,214/255,1) border.color: FluTheme.dark ? Qt.rgba(99/255,99/255,99/255,1) : Qt.rgba(214/255,214/255,214/255,1)