mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-26 04:11:07 -07:00
Merge branch 'master' into libArachne_rebased
This commit is contained in:
commit
14ce560904
9 changed files with 88 additions and 18 deletions
|
|
@ -5,6 +5,7 @@
|
|||
"metadata": {
|
||||
"visible": true,
|
||||
"platform": "kossel_pro_build_platform.3mf",
|
||||
"platform_offset": [0, -0.25, 0],
|
||||
"machine_extruder_trains": {
|
||||
"0": "anycubic_kossel_extruder_0"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ Button
|
|||
property alias textFont: buttonText.font
|
||||
property alias cornerRadius: backgroundRect.radius
|
||||
property alias tooltip: tooltip.tooltipText
|
||||
property alias tooltipWidth: tooltip.width
|
||||
|
||||
property color color: UM.Theme.getColor("primary")
|
||||
property color hoverColor: UM.Theme.getColor("primary_hover")
|
||||
|
|
|
|||
|
|
@ -417,6 +417,7 @@ UM.MainWindow
|
|||
Cura.PrimaryButton
|
||||
{
|
||||
text: model.name
|
||||
iconSource: UM.Theme.getIcon(model.icon)
|
||||
height: UM.Theme.getSize("message_action_button").height
|
||||
}
|
||||
}
|
||||
|
|
@ -426,6 +427,7 @@ UM.MainWindow
|
|||
Cura.SecondaryButton
|
||||
{
|
||||
text: model.name
|
||||
iconSource: UM.Theme.getIcon(model.icon)
|
||||
height: UM.Theme.getSize("message_action_button").height
|
||||
}
|
||||
}
|
||||
|
|
@ -434,6 +436,14 @@ UM.MainWindow
|
|||
Cura.TertiaryButton
|
||||
{
|
||||
text: model.name
|
||||
iconSource:
|
||||
{
|
||||
if (model.icon == null || model.icon == "")
|
||||
{
|
||||
return UM.Theme.getIcon("LinkExternal")
|
||||
}
|
||||
return UM.Theme.getIcon(model.icon)
|
||||
}
|
||||
height: UM.Theme.getSize("message_action_button").height
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue