Fix mobile volume button size

Align with the size of the other buttons on the player controls page.
This commit is contained in:
Bart De Vries 2024-01-05 16:11:20 +01:00
parent 042fc54b43
commit 5d7ed68544

View File

@ -336,7 +336,13 @@ Kirigami.Page {
}
Controls.ToolButton {
id: volumeButton
Layout.maximumHeight: parent.height
Layout.preferredHeight: contextButtons.buttonSize
Layout.maximumWidth: height
Layout.preferredWidth: height
icon.name: AudioManager.muted ? "player-volume-muted" : "player-volume"
icon.width: contextButtons.iconSize
icon.height: contextButtons.iconSize
enabled: AudioManager.PlaybackState != AudioManager.StoppedState && AudioManager.canPlay
checked: volumePopup.visible