Layout fixes

CURA-1385
This commit is contained in:
Jaime van Kessel 2016-06-22 14:50:05 +02:00
parent c297b14e03
commit 5aab4686ca

View file

@ -8,10 +8,13 @@ import QtQuick.Window 2.1
Cura.MachineAction Cura.MachineAction
{ {
anchors.fill: parent;
Item Item
{ {
id: checkupMachineAction id: checkupMachineAction
anchors.fill: parent; anchors.fill: parent;
property int leftRow: checkupMachineAction.width * 0.40
property int rightRow: checkupMachineAction.width * 0.60
UM.I18nCatalog { id: catalog; name:"cura"} UM.I18nCatalog { id: catalog; name:"cura"}
Label Label
{ {
@ -72,6 +75,8 @@ Cura.MachineAction
anchors.top: startStopButtons.bottom anchors.top: startStopButtons.bottom
anchors.topMargin: UM.Theme.getSize("default_margin").height anchors.topMargin: UM.Theme.getSize("default_margin").height
visible: false visible: false
width: parent.width
height: 250
////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////
Label Label
{ {
@ -217,7 +222,7 @@ Cura.MachineAction
anchors.top: bedTempLabel.top anchors.top: bedTempLabel.top
anchors.left: bedTempLabel.right anchors.left: bedTempLabel.right
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
text: catalog.i18nc("@info:status","Not checked") text: manager.bedTestCompleted ? catalog.i18nc("@info:status","Not checked"): catalog.i18nc("@info:status","Checked")
} }
Item Item
{ {
@ -236,7 +241,6 @@ Cura.MachineAction
onClicked: onClicked:
{ {
manager.heatupBed() manager.heatupBed()
bedTempStatus.text = catalog.i18nc("@info:progress","Checking")
} }
} }
} }