mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-03 03:54:01 -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.right: printProgressArea.left
|
||||||
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
color: emphasisColor
|
color: emphasisColor
|
||||||
UM.RecolorImage
|
|
||||||
|
Image
|
||||||
{
|
{
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
width: 40 * screenScaleFactor
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
height: width
|
||||||
|
anchors.right: printProgressArea.left
|
||||||
|
anchors.rightMargin: UM.Theme.getSize("default_margin").width
|
||||||
source: "camera-icon.svg"
|
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
|
Row // PrintCode config
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="21" height="14" viewBox="0 0 21 14">
|
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
|
||||||
<path fill="none" fill-rule="evenodd" stroke="#464B4E" stroke-width="1.5" d="M19.295 2.83L16.25 4.31V2c0-.69-.56-1.25-1.25-1.25H2C1.31.75.75 1.31.75 2v10c0 .69.56 1.25 1.25 1.25h13c.69 0 1.25-.56 1.25-1.25V9.69l3.045 1.48a.85.85 0 0 0 .367.08c.355 0 .584-.181.584-.31V3.06c0-.026-.011-.058-.04-.096-.16-.206-.592-.289-.911-.134z" opacity=".85"/>
|
<g fill="none" fill-rule="evenodd">
|
||||||
</svg>
|
<!-- <rect width="48" height="48" fill="#00A6EC" rx="24"/>-->
|
||||||
|
<path stroke="#FFF" stroke-width="2.5" d="M32.75 16.25h-19.5v15.5h19.5v-4.51l3.501 1.397c.181.072.405.113.638.113.333 0 .627-.081.81-.2.036-.024.048-.028.051-.011V18.487c-.26-.23-.976-.332-1.499-.124L32.75 19.76v-3.51z"/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
Before Width: | Height: | Size: 441 B After Width: | Height: | Size: 438 B |
Loading…
Add table
Add a link
Reference in a new issue