mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-03 15:51:12 -07:00
Merge branch 'CURA-8112_Inform_the_user_about_their_subscription_limits'
This commit is contained in:
commit
cc82ff97a7
6 changed files with 82 additions and 8 deletions
|
|
@ -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