Remove device pixel ratio from DiscardOrKeepProfileChangesDialog

This commit is contained in:
Lipu Fei 2017-05-09 12:05:01 +02:00
parent 36dedabd11
commit 19ee790cd7

View file

@ -14,8 +14,8 @@ UM.Dialog
id: base id: base
title: catalog.i18nc("@title:window", "Discard or Keep changes") title: catalog.i18nc("@title:window", "Discard or Keep changes")
width: 800 * Screen.devicePixelRatio width: 800
height: 400 * Screen.devicePixelRatio height: 400
property var changesModel: Cura.UserChangesModel{ id: userChangesModel} property var changesModel: Cura.UserChangesModel{ id: userChangesModel}
onVisibilityChanged: onVisibilityChanged:
{ {
@ -71,7 +71,7 @@ UM.Dialog
TableView TableView
{ {
anchors.fill: parent anchors.fill: parent
height: base.height - 150 * Screen.devicePixelRatio height: base.height - 150
id: tableView id: tableView
Component Component
{ {