Fix rounded values in qml files

This commit is contained in:
Diego Prado Gesto 2018-02-15 13:27:13 +01:00
parent 2f37bd4b73
commit f11a1341ee
4 changed files with 10 additions and 10 deletions

View file

@ -11,8 +11,8 @@ import UM 1.1 as UM
UM.Dialog
{
id: base
minimumWidth: (UM.Theme.getSize("modal_window_minimum").width * 0.75) | 0
minimumHeight: (UM.Theme.getSize("modal_window_minimum").height * 0.75) | 0
minimumWidth: Math.round(UM.Theme.getSize("modal_window_minimum").width * 0.75) | 0
minimumHeight: Math.round(UM.Theme.getSize("modal_window_minimum").height * 0.75) | 0
width: minimumWidth
height: minimumHeight
title: catalog.i18nc("@label", "Changelog")