Use visible property of Rectangle

rather than defining a separate property

CURA-8564
This commit is contained in:
casper 2021-11-29 11:55:33 +01:00 committed by Jelle Spijker
parent f7720d2a0d
commit 5dc664e821
No known key found for this signature in database
GPG key ID: 6662DC033BE6B99A

View file

@ -11,14 +11,11 @@ import Cura 1.6 as Cura
// Onboarding banner.
Rectangle
{
property bool bannerVisible
property string bannerIcon
property string bannerText
property var onRemoveBanner
property string readMoreUrl
visible: bannerVisible
Layout.preferredHeight: childrenRect.height + 2 * UM.Theme.getSize("default_margin").height
anchors
{