mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Layout fixes
CURA-1385
This commit is contained in:
parent
c297b14e03
commit
5aab4686ca
1 changed files with 6 additions and 2 deletions
|
@ -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")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue