mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 07:33:57 -06:00
Change the moreInfo button for slice statistics
CURA-8949
This commit is contained in:
parent
ec407a81d3
commit
b2494f4d2e
1 changed files with 10 additions and 8 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue