mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06:00
CL-474 Fix the image used for the camera icon
Subtask of CL-457 Cura plugin: primary visual improvements
This commit is contained in:
parent
553a309d23
commit
5865d52000
2 changed files with 25 additions and 9 deletions
|
@ -136,15 +136,28 @@ Rectangle
|
|||
anchors.right: printProgressArea.left
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
color: emphasisColor
|
||||
UM.RecolorImage
|
||||
|
||||
Image
|
||||
{
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
width: 40 * screenScaleFactor
|
||||
height: width
|
||||
anchors.right: printProgressArea.left
|
||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||
source: "camera-icon.svg"
|
||||
width: sourceSize.width
|
||||
height: sourceSize.height * width / sourceSize.width
|
||||
color: "white"
|
||||
}
|
||||
|
||||
// FIXME: Currently using Image instead of UM.RecolorImage because RecolorImage has
|
||||
// the bad side effect of scaling/shrinking the image on my HiDPI laptop screen(!)
|
||||
|
||||
// UM.RecolorImage
|
||||
// {
|
||||
// anchors.verticalCenter: parent.verticalCenter
|
||||
// anchors.horizontalCenter: parent.horizontalCenter
|
||||
// source: "camera-icon.svg"
|
||||
// width: sourceSize.width
|
||||
// height: sourceSize.height * width / sourceSize.width
|
||||
// color: "white"
|
||||
// }
|
||||
}
|
||||
|
||||
Row // PrintCode config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue