fix todos and cleanup names
This commit is contained in:
parent
eaa9c55390
commit
99b73ed46d
@ -2,7 +2,7 @@
|
||||
"includes": [
|
||||
"./config/application.gypi",
|
||||
"./config/moc.gypi",
|
||||
'./config/yoga.gypi'
|
||||
'./config/deps.gypi'
|
||||
],
|
||||
"targets": []
|
||||
}
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{
|
||||
"includes": [],
|
||||
"target_defaults": {
|
||||
"include_dirs": ['../deps/'],
|
||||
"sources": [
|
||||
"../deps/yoga/Yoga.cpp",
|
||||
"../deps/yoga/YGValue.cpp",
|
||||
@ -102,7 +102,7 @@ void FlexLayout::setGeometry(const QRect &rect)
|
||||
}
|
||||
int availableWidth = rect.width();
|
||||
int availableHeight = rect.height();
|
||||
YGDirection direction = YGDirection::YGDirectionLTR; //TODO
|
||||
YGDirection direction = YGNodeStyleGetDirection(this->node);
|
||||
YGNodeCalculateLayout(this->node,availableWidth,availableHeight,direction);
|
||||
|
||||
uint count = YGNodeGetChildCount(this->node);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user