HImage: limit spinner size to 96

This commit is contained in:
miruka 2020-07-18 23:37:55 -04:00
parent 11fb32bff6
commit 84a41e09e1

View File

@ -105,7 +105,9 @@ Image {
} }
anchors.centerIn: parent anchors.centerIn: parent
width: Math.min(parent.width, parent.height) * 0.5 width: Math.min(
96 * theme.uiScale, Math.min(parent.width, parent.height) * 0.5,
)
height: width height: width
active: image.status === Image.Loading active: image.status === Image.Loading
sourceComponent: HBusyIndicator {} sourceComponent: HBusyIndicator {}