mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Add warning border to PackageCard
if information is missing
CURA-6990
This commit is contained in:
parent
70c36fc80f
commit
4492e3fba2
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ Rectangle
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
color: UM.Theme.getColor("main_background")
|
color: UM.Theme.getColor("main_background")
|
||||||
radius: UM.Theme.getSize("default_radius").width
|
radius: UM.Theme.getSize("default_radius").width
|
||||||
|
border.color: packageData.isMissingPackageInformation ? UM.Theme.getColor("warning") : "transparent"
|
||||||
|
border.width: packageData.isMissingPackageInformation ? 1 : 0
|
||||||
|
|
||||||
PackageCardHeader
|
PackageCardHeader
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue