fix doric layout bug

This commit is contained in:
王劲鹏
2021-04-14 12:42:03 +08:00
committed by osborn
parent 46bcaeb772
commit d231ae099f
4 changed files with 91 additions and 46 deletions

View File

@@ -110,7 +110,7 @@ void DoricViewNode::blend(QQuickItem *view, QString name, QJsonValue prop) {
} else if (name == "x") {
getLayouts()->setMarginLeft(prop.toInt());
} else if (name == "y") {
getLayouts()->setMarginRight(prop.toInt());
getLayouts()->setMarginTop(prop.toInt());
} else if (name == "corners") {
view->setProperty("radius", prop.toInt());
} else if (name == "onClick") {