mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 10:55:58 +08:00
Change the moreInfo button for slice statistics
CURA-8949
This commit is contained in:
parent
ec407a81d3
commit
b2494f4d2e
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user