Change the moreInfo button for slice statistics

CURA-8949
This commit is contained in:
Jaime van Kessel 2022-02-21 11:07:47 +01:00
parent ec407a81d3
commit b2494f4d2e

View file

@ -840,15 +840,17 @@ UM.PreferencesPage
onCheckedChanged: UM.Preferences.setValue("info/send_slice_info", checked) onCheckedChanged: UM.Preferences.setValue("info/send_slice_info", checked)
} }
Cura.SecondaryButton
UM.SimpleButton
{ {
id: showMoreInfo onClicked: CuraApplication.showMoreInformationDialogForAnonymousDataCollection()
anchors.top: sendDataCheckbox.bottom iconSource: UM.Theme.getIcon("Information")
text: catalog.i18nc("@action:button", "More information") anchors.left: sendDataCheckbox.right
onClicked: anchors.verticalCenter: sendDataCheckbox.verticalCenter
{ hoverBackgroundColor: UM.Theme.getColor("secondary_button_hover")
CuraApplication.showMoreInformationDialogForAnonymousDataCollection(); backgroundRadius: width / 2
} height: UM.Theme.getSize("small_button_icon").height
width: height
} }
} }