diff --git a/doric-Qt/example/doric/shader/DoricInputNode.cpp b/doric-Qt/example/doric/shader/DoricInputNode.cpp index d57280a0..990d4072 100644 --- a/doric-Qt/example/doric/shader/DoricInputNode.cpp +++ b/doric-Qt/example/doric/shader/DoricInputNode.cpp @@ -18,5 +18,11 @@ QQuickItem *DoricInputNode::build() { } void DoricInputNode::blend(QQuickItem *view, QString name, QJsonValue prop) { - { DoricViewNode::blend(view, name, prop); } + if (name == "hintText") { + view->setProperty("placeholderText", prop.toString()); + } else if (name == "textAlignment") { + view->setProperty("textAlignment", prop.toInt()); + } else { + DoricViewNode::blend(view, name, prop); + } }