mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 01:39:03 +08:00
Make material colour indication a circle instead of square
The rest of them are circles. This one should be one too.
This commit is contained in:
parent
33fdca4a6b
commit
fcc914cf0d
@ -164,6 +164,7 @@ Column
|
|||||||
id: materialColor
|
id: materialColor
|
||||||
width: materialName.height * 0.75
|
width: materialName.height * 0.75
|
||||||
height: materialName.height * 0.75
|
height: materialName.height * 0.75
|
||||||
|
radius: width / 2
|
||||||
color: (connectedPrinter != null && connectedPrinter.materialColors[index] != null && connectedPrinter.materialIds[index] != "") ? connectedPrinter.materialColors[index] : "#00000000"
|
color: (connectedPrinter != null && connectedPrinter.materialColors[index] != null && connectedPrinter.materialIds[index] != "") ? connectedPrinter.materialColors[index] : "#00000000"
|
||||||
border.width: UM.Theme.getSize("default_lining").width
|
border.width: UM.Theme.getSize("default_lining").width
|
||||||
border.color: UM.Theme.getColor("lining")
|
border.color: UM.Theme.getColor("lining")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user