mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Update spinner design.
This commit is contained in:
parent
bd82c3e924
commit
6315d22977
3 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue