Update spinner design.

This commit is contained in:
Julien Wadel 2022-07-13 21:25:52 +02:00
parent bd82c3e924
commit 6315d22977
3 changed files with 7 additions and 6 deletions

View file

@ -64,10 +64,11 @@ BusyIndicator {
Rectangle {
x: item.width / 2 - width / 2
y: item.height / 2 - height / 2
property real ratio : (3+index) / repeater.count
height: item.height / 3
width: item.width / 3
height: item.height / 3 * ratio
width: item.width / 3 * ratio
opacity: ratio
color: busyIndicator.color
radius: (width > height ? width : height) / 2

View file

@ -7,5 +7,5 @@ QtObject {
property string sectionName: 'Busy'
property color color: ColorsList.add(sectionName+'_indicator', 'i').color
property int duration: 1250
property int nSpheres: 6
property int nSpheres: 8
}

View file

@ -134,12 +134,12 @@ QtObject {
}
*/
property QtObject callError: QtObject {
property color color: ColorsList.add(sectionName+'_action_error', 'i').color
property color color: ColorsList.add(sectionName+'_action_error', 'q').color
property int pointSize: Units.dp * 12
}
property QtObject header: QtObject {
property QtObject busyIndicator: QtObject {
property color color: ColorsList.add(sectionName+'_header_busy', 'i').color
property color color: ColorsList.add(sectionName+'_header_busy', 'q').color
property int height: 20
property int width: 20
}