mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
|
||||
color: UM.Theme.getColor("main_background")
|
||||
radius: UM.Theme.getSize("default_radius").width
|
||||
border.color: packageData.isMissingPackageInformation ? UM.Theme.getColor("warning") : "transparent"
|
||||
border.width: packageData.isMissingPackageInformation ? 1 : 0
|
||||
|
||||
PackageCardHeader
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue