Replace tons of hardcoded stuff

This commit is contained in:
Ly-sec 2025-08-16 01:17:44 +02:00
parent 2a5a3a1b78
commit c673b897cb
27 changed files with 155 additions and 161 deletions

View file

@ -65,7 +65,7 @@ NBox {
ComboBox {
id: playerSelector
Layout.fillWidth: true
Layout.preferredHeight: 30 * scaling
Layout.preferredHeight: Style.barHeight * 0.83 * scaling
visible: MediaPlayer.getAvailablePlayers().length > 1
model: MediaPlayer.getAvailablePlayers()
textRole: "identity"
@ -252,7 +252,7 @@ NBox {
Behavior on width {
NumberAnimation {
duration: 200
duration: Style.animationFast
}
}
}
@ -273,7 +273,7 @@ NBox {
Behavior on scale {
NumberAnimation {
duration: 150
duration: Style.animationFast
}
}
}