Scale all QML elements according to the current display size

This commit is contained in:
Jan-Martin Raemer 2022-06-03 22:07:50 +02:00
parent 9e7a55fc20
commit bcdf3d94f2
15 changed files with 278 additions and 109 deletions

View file

@ -5,7 +5,7 @@ import QtGraphicalEffects 1.0
Item{
id: container
property int margins: 20
property int margins: StyleMargins.defaultMargin
RoundImageButton{
id: backNavigation
@ -43,7 +43,7 @@ Item{
Image{
id: cover
anchors.centerIn: parent
height: parent.height-10
height: parent.height-StyleMargins.smallMargin
width: height
source: musicModel.pCoverImageSource
fillMode: Image.PreserveAspectCrop