mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Small fixes and change the "plugins" text to "packages"
This commit is contained in:
parent
1ecc52e920
commit
418bedc8f0
2 changed files with 3 additions and 5 deletions
|
|
@ -78,7 +78,7 @@ Window
|
||||||
{
|
{
|
||||||
id: footer
|
id: footer
|
||||||
visible: toolbox.restartRequired
|
visible: toolbox.restartRequired
|
||||||
height: toolbox.restartRequired ? UM.Theme.getSize("toolbox_footer").height : 0
|
height: visible ? UM.Theme.getSize("toolbox_footer").height : 0
|
||||||
}
|
}
|
||||||
// TODO: Clean this up:
|
// TODO: Clean this up:
|
||||||
Connections
|
Connections
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,7 @@ Item
|
||||||
height: visible ? Math.floor(UM.Theme.getSize("toolbox_footer").height) : 0
|
height: visible ? Math.floor(UM.Theme.getSize("toolbox_footer").height) : 0
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
visible: toolbox.restartRequired
|
text: catalog.i18nc("@info", "You will need to restart Cura before changes in packages have effect.")
|
||||||
text: catalog.i18nc("@info", "You will need to restart Cura before changes in plugins have effect.")
|
|
||||||
height: Math.floor(UM.Theme.getSize("toolbox_footer_button").height)
|
height: Math.floor(UM.Theme.getSize("toolbox_footer_button").height)
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
anchors
|
anchors
|
||||||
|
|
@ -38,7 +37,6 @@ Item
|
||||||
right: parent.right
|
right: parent.right
|
||||||
rightMargin: UM.Theme.getSize("wide_margin").width
|
rightMargin: UM.Theme.getSize("wide_margin").width
|
||||||
}
|
}
|
||||||
visible: toolbox.restartRequired
|
|
||||||
iconName: "dialog-restart"
|
iconName: "dialog-restart"
|
||||||
onClicked: toolbox.restart()
|
onClicked: toolbox.restart()
|
||||||
style: ButtonStyle
|
style: ButtonStyle
|
||||||
|
|
@ -61,7 +59,7 @@ Item
|
||||||
}
|
}
|
||||||
ToolboxShadow
|
ToolboxShadow
|
||||||
{
|
{
|
||||||
visible: toolbox.restartRequired
|
visible: footer.visible
|
||||||
anchors.bottom: footer.top
|
anchors.bottom: footer.top
|
||||||
reversed: true
|
reversed: true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue