diff --git a/doric-Qt/example/doric/shader/DoricViewNode.cpp b/doric-Qt/example/doric/shader/DoricViewNode.cpp index 80a3d7a9..edf712fa 100644 --- a/doric-Qt/example/doric/shader/DoricViewNode.cpp +++ b/doric-Qt/example/doric/shader/DoricViewNode.cpp @@ -175,6 +175,7 @@ void DoricViewNode::blend(QQuickItem *view, QString name, QJsonValue prop) { getLayouts()->setPaddingBottom(prop["bottom"].toDouble()); } else if (name == "hidden") { getLayouts()->setDisabled(prop.toBool()); + mView->setVisible(!prop.toBool()); } else if (name == "border") { qreal borderWidth = prop["width"].toDouble(); QString borderColor = DoricUtils::doricColor(prop["color"].toInt()).name();