revert to latest spec
This commit is contained in:
parent
0beebabd10
commit
a39165a659
@ -17,10 +17,10 @@ YGSize extrautils::measureQtWidget (YGNodeRef node, float width, YGMeasureMode w
|
||||
if(widget){
|
||||
QSize size = widget->sizeHint();
|
||||
return YGSize{
|
||||
width : static_cast<float>(size.width()),
|
||||
height : static_cast<float>(size.height()),
|
||||
.width = static_cast<float>(size.width()),
|
||||
.height = static_cast<float>(size.height()),
|
||||
};
|
||||
}
|
||||
}
|
||||
return YGSize{width : 0, height : 0};
|
||||
return YGSize{ .width = 0, .height = 0};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user