mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-22 06:03:57 -06:00
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.
This commit is contained in:
parent
1975d053b0
commit
52018a6048
1 changed files with 3 additions and 3 deletions
|
@ -302,15 +302,15 @@ Item
|
||||||
}
|
}
|
||||||
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
|
height: instructionButton.visible ? materialSelection.height: 0
|
||||||
Button
|
Button
|
||||||
{
|
{
|
||||||
id: instructionButton
|
id: instructionButton
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
contentItem: Item {}
|
contentItem: Item {}
|
||||||
height: 0.5 * materialSelection.height
|
height: UM.Theme.getSize("small_button").height
|
||||||
width: height
|
width: UM.Theme.getSize("small_button").width
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
background: UM.RecolorImage
|
background: UM.RecolorImage
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue