Scale all QML elements according to the current display size
This commit is contained in:
parent
9e7a55fc20
commit
bcdf3d94f2
15 changed files with 278 additions and 109 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue