Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorp.kuiper <p.kuiper@ultimaker.com>2022-05-30 08:59:50 +0300
committerp.kuiper <p.kuiper@ultimaker.com>2022-05-30 08:59:50 +0300
commit0db75501a312dc9561eabfde26fbecef5f137c5a (patch)
tree53a934ec39348aabd7b5002739092c9b089a333d /resources/qml/Toolbar.qml
parent9fdeffd564aab5f896bd6405176b7a8491c69303 (diff)
parent596c24657d39804c8bc94e6e8f99436115d7e411 (diff)
Merge remote-tracking branch 'origin/main' into PP-3_improved_experimental_bridge_settings
# Conflicts: # resources/definitions/ultimaker.def.json
Diffstat (limited to 'resources/qml/Toolbar.qml')
-rw-r--r--resources/qml/Toolbar.qml10
1 files changed, 3 insertions, 7 deletions
diff --git a/resources/qml/Toolbar.qml b/resources/qml/Toolbar.qml
index 32de5b76ca..6ecdc9dce0 100644
--- a/resources/qml/Toolbar.qml
+++ b/resources/qml/Toolbar.qml
@@ -63,13 +63,10 @@ Item
isTopElement: toolsModel.getItem(0).id == model.id
isBottomElement: toolsModel.getItem(toolsModel.count - 1).id == model.id
- toolItem: UM.RecolorImage
+ toolItem: UM.ColorImage
{
source: UM.Theme.getIcon(model.icon) != "" ? UM.Theme.getIcon(model.icon) : "file:///" + model.location + "/" + model.icon
color: UM.Theme.getColor("icon")
-
- sourceSize.height: Math.round(UM.Theme.getSize("button").height / 2)
- sourceSize.width: Math.round(UM.Theme.getSize("button").width / 2)
}
onCheckedChanged:
@@ -160,7 +157,7 @@ Item
anchors.topMargin: base.activeY
z: buttons.z - 1
- target: Qt.point(parent.right, base.activeY + Math.round(UM.Theme.getSize("button").height/2))
+ target: Qt.point(-1, base.activeY + Math.round(UM.Theme.getSize("button").height / 2))
arrowSize: UM.Theme.getSize("default_arrow").width
width:
@@ -213,12 +210,11 @@ Item
width: toolHint.width + UM.Theme.getSize("default_margin").width
height: toolHint.height;
color: UM.Theme.getColor("tooltip")
- Label
+ UM.Label
{
id: toolHint
text: UM.ActiveTool.properties.getValue("ToolHint") != undefined ? UM.ActiveTool.properties.getValue("ToolHint") : ""
color: UM.Theme.getColor("tooltip_text")
- font: UM.Theme.getFont("default")
anchors.horizontalCenter: parent.horizontalCenter
}