mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Fix UMO Checkup button size
CURA-1385
This commit is contained in:
parent
2ba2599d6b
commit
8c22efc4dd
1 changed files with 5 additions and 9 deletions
|
@ -156,6 +156,7 @@ Cura.MachineAction
|
||||||
{
|
{
|
||||||
id: nozzleTempLabel
|
id: nozzleTempLabel
|
||||||
width: checkupMachineAction.leftRow
|
width: checkupMachineAction.leftRow
|
||||||
|
height: nozzleTempButton.height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: endstopZLabel.bottom
|
anchors.top: endstopZLabel.bottom
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
|
@ -174,15 +175,12 @@ Cura.MachineAction
|
||||||
{
|
{
|
||||||
id: nozzleTempButton
|
id: nozzleTempButton
|
||||||
width: checkupMachineAction.rightRow * 0.3
|
width: checkupMachineAction.rightRow * 0.3
|
||||||
height: nozzleTemp.height
|
height: childrenRect.height
|
||||||
anchors.top: nozzleTempLabel.top
|
anchors.top: nozzleTempLabel.top
|
||||||
anchors.left: bedTempStatus.right
|
anchors.left: bedTempStatus.right
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width/2
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width/2
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
height: nozzleTemp.height - 2
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
text: catalog.i18nc("@action:button","Start Heating")
|
text: catalog.i18nc("@action:button","Start Heating")
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
@ -206,10 +204,11 @@ Cura.MachineAction
|
||||||
{
|
{
|
||||||
id: bedTempLabel
|
id: bedTempLabel
|
||||||
width: checkupMachineAction.leftRow
|
width: checkupMachineAction.leftRow
|
||||||
|
height: bedTempButton.height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: nozzleTempLabel.bottom
|
anchors.top: nozzleTempLabel.bottom
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: catalog.i18nc("@label","bed temperature check:")
|
text: catalog.i18nc("@label","Bed temperature check:")
|
||||||
}
|
}
|
||||||
|
|
||||||
Label
|
Label
|
||||||
|
@ -225,15 +224,12 @@ Cura.MachineAction
|
||||||
{
|
{
|
||||||
id: bedTempButton
|
id: bedTempButton
|
||||||
width: checkupMachineAction.rightRow * 0.3
|
width: checkupMachineAction.rightRow * 0.3
|
||||||
height: bedTemp.height
|
height: childrenRect.height
|
||||||
anchors.top: bedTempLabel.top
|
anchors.top: bedTempLabel.top
|
||||||
anchors.left: bedTempStatus.right
|
anchors.left: bedTempStatus.right
|
||||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width/2
|
anchors.leftMargin: UM.Theme.getSize("default_margin").width/2
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
height: bedTemp.height - 2
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
|
||||||
text: catalog.i18nc("@action:button","Start Heating")
|
text: catalog.i18nc("@action:button","Start Heating")
|
||||||
onClicked:
|
onClicked:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue