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:
authorGhostkeeper <rubend@tutanota.com>2021-07-07 11:57:14 +0300
committerGhostkeeper <rubend@tutanota.com>2021-07-07 12:36:11 +0300
commit52018a60489971a00346cc6d85aec6c073993ba5 (patch)
tree09b11c22a34d31631f224b0dd00edfcc87346229 /resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
parent1975d053b061cd514df80152b34f3566103ead8d (diff)
Adjust size and margin of guide book icon
The icon was rendered at a too small size, such that it would get a different line width or look-and-feel than the rest. However making it bigger doesn't properly centre it either. To centre it we also reduced the margin. Contributes to issue CURA-8202.
Diffstat (limited to 'resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml')
-rw-r--r--resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
index 7d1393151f..8376693ad1 100644
--- a/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
+++ b/resources/qml/Menus/ConfigurationMenu/CustomConfiguration.qml
@@ -302,15 +302,15 @@ Item
}
Item
{
- width: instructionButton.width + 2 * UM.Theme.getSize("default_margin").width
+ width: instructionButton.width + 2 * UM.Theme.getSize("narrow_margin").width
height: instructionButton.visible ? materialSelection.height: 0
Button
{
id: instructionButton
hoverEnabled: true
contentItem: Item {}
- height: 0.5 * materialSelection.height
- width: height
+ height: UM.Theme.getSize("small_button").height
+ width: UM.Theme.getSize("small_button").width
anchors.centerIn: parent
background: UM.RecolorImage
{