Loading spinners for confirm/preview upload popups

This commit is contained in:
miruka 2020-07-16 17:17:58 -04:00
parent 0515a94429
commit 1708f692b3
2 changed files with 3 additions and 3 deletions

View File

@ -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 {} }

View File

@ -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 {} }
} }