Changed the hardcoded value for leftMargin

CURA-7038
This commit is contained in:
Dimitriovski 2019-12-31 14:35:47 +01:00
parent 802c095c9f
commit 1ea8145f39
No known key found for this signature in database
GPG key ID: 4E62757E2B0D304D

View file

@ -76,7 +76,7 @@ UM.Dialog{
text: model.name
font: UM.Theme.getFont("medium_bold")
anchors.left: packageIcon.right
anchors.leftMargin: 20
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.verticalCenter: packageIcon.verticalCenter
color: UM.Theme.getColor("text")
elide: Text.ElideRight
@ -118,7 +118,7 @@ UM.Dialog{
text: model.name
font: UM.Theme.getFont("medium_bold")
anchors.left: packageIcon.right
anchors.leftMargin: 20
anchors.leftMargin: UM.Theme.getSize("default_margin").width
anchors.verticalCenter: packageIcon.verticalCenter
color: UM.Theme.getColor("text")
elide: Text.ElideRight