Use Item instead of Rectangle

This commit is contained in:
Lipu Fei 2019-03-22 10:14:34 +01:00
parent c4d2cb26a0
commit 0c8afbfa45

View File

@ -116,7 +116,7 @@ Item
} }
} }
Rectangle Item
{ {
width: parent.width width: parent.width
anchors.top: userInputFields.bottom anchors.top: userInputFields.bottom
@ -133,7 +133,7 @@ Item
text: catalog.i18nc("@label", "The printer at this address has not responded yet.") text: catalog.i18nc("@label", "The printer at this address has not responded yet.")
} }
Rectangle Item
{ {
id: printerInfoLabels id: printerInfoLabels
anchors.top: parent.top anchors.top: parent.top
@ -203,8 +203,6 @@ Item
width: UM.Theme.getSize("action_button").width width: UM.Theme.getSize("action_button").width
fixedWidthMode: true fixedWidthMode: true
onClicked: base.gotoPage("add_printer_by_selection") onClicked: base.gotoPage("add_printer_by_selection")
enabled: true
} }
Cura.PrimaryButton Cura.PrimaryButton