Simplify margins and make them DPI aware

This commit is contained in:
fieldOfView 2017-04-02 15:54:06 +02:00
parent ed8954c1db
commit fd09a1959b
2 changed files with 6 additions and 20 deletions

View file

@ -41,15 +41,8 @@ UM.Dialog
Item
{
anchors.top: parent.top
anchors.bottom: parent.bottom
anchors.left: parent.left
anchors.right: parent.right
anchors.topMargin: 20
anchors.bottomMargin: 20
anchors.leftMargin:20
anchors.rightMargin: 20
anchors.fill: parent
anchors.margins: 20 * Screen.devicePixelRatio
UM.SettingDefinitionsModel
{