Revert "Fix rounded values in qml files"

This reverts commit f11a1341ee.
This commit is contained in:
Diego Prado Gesto 2018-02-15 14:58:58 +01:00
parent e7df8efe4d
commit a2fde9f5f2
4 changed files with 10 additions and 10 deletions

View file

@ -160,7 +160,7 @@ UM.ManagementPage
}
Label
{
width: Math.round(parent.width * 0.7) | 0
width: (parent.width * 0.7) | 0
text: machineInfo.printerConnected ? machineInfo.connectedPrinter.connectionText : catalog.i18nc("@info:status", "The printer is not connected.")
visible: base.currentItem && base.currentItem.id == Cura.MachineManager.activeMachineId
wrapMode: Text.WordWrap
@ -171,7 +171,7 @@ UM.ManagementPage
visible: base.currentItem && base.currentItem.id == Cura.MachineManager.activeMachineId && machineInfo.printerAcceptsCommands
}
Label {
width: Math.round(parent.width * 0.7) | 0
width: (parent.width * 0.7) | 0
text:
{
if(!machineInfo.printerConnected || !machineInfo.printerAcceptsCommands) {