hlayout & vlayout change to flex

This commit is contained in:
王劲鹏
2021-03-01 17:03:28 +08:00
committed by osborn
parent 06f47e31cc
commit 257f3f0dab
4 changed files with 8 additions and 19 deletions

View File

@@ -2,6 +2,7 @@
FlexLayout::FlexLayout(FlexLayoutConfig *config, QObject *parent)
: QObject(parent) {
qCritical() << "create flex";
node = YGNodeNewWithConfig(config->getConfig());
this->config = config;
}