Loading spinners for confirm/preview upload popups
This commit is contained in:
parent
0515a94429
commit
1708f692b3
|
@ -56,10 +56,10 @@ HColumnPopup {
|
||||||
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.preferredHeight: // TODO: loading spinner?
|
Layout.preferredHeight:
|
||||||
status === Image.Ready ?
|
status === Image.Ready ?
|
||||||
width / (implicitWidth / implicitHeight) :
|
width / (implicitWidth / implicitHeight) :
|
||||||
0
|
96 * theme.uiScale // for spinner
|
||||||
|
|
||||||
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ HColumnPopup {
|
||||||
Layout.preferredHeight:
|
Layout.preferredHeight:
|
||||||
status === Image.Ready ?
|
status === Image.Ready ?
|
||||||
width / (implicitWidth / implicitHeight) :
|
width / (implicitWidth / implicitHeight) :
|
||||||
0
|
96 * theme.uiScale // for spinner
|
||||||
|
|
||||||
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
Behavior on Layout.preferredHeight { HNumberAnimation {} }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user