mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-13 18:43:13 +08:00
Fix the open file button
Now it has the correct size and it doesn't look blurry. Contributes to CURA-5942.
This commit is contained in:
parent
ea75a60dd8
commit
fcde6e3a34
@ -95,16 +95,21 @@ Item
|
|||||||
onClicked: Cura.Actions.open.trigger()
|
onClicked: Cura.Actions.open.trigger()
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
|
|
||||||
contentItem: UM.RecolorImage
|
contentItem: Item
|
||||||
{
|
{
|
||||||
id: buttonIcon
|
anchors.fill: parent
|
||||||
source: UM.Theme.getIcon("load")
|
UM.RecolorImage
|
||||||
width: UM.Theme.getSize("button_icon").width
|
{
|
||||||
height: UM.Theme.getSize("button_icon").height
|
id: buttonIcon
|
||||||
color: UM.Theme.getColor("toolbar_button_text")
|
anchors.centerIn: parent
|
||||||
|
source: UM.Theme.getIcon("load")
|
||||||
|
width: UM.Theme.getSize("button_icon").width
|
||||||
|
height: UM.Theme.getSize("button_icon").height
|
||||||
|
color: UM.Theme.getColor("toolbar_button_text")
|
||||||
|
|
||||||
sourceSize.width: width
|
sourceSize.width: width
|
||||||
sourceSize.height: height
|
sourceSize.height: height
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
background: Rectangle
|
background: Rectangle
|
||||||
|
Loading…
x
Reference in New Issue
Block a user