MCPcopy Create free account
hub / github.com/Snapchat/Valdi / YGNodeStyleSetHeight

Function YGNodeStyleSetHeight

third-party/yoga/src/yoga/YGNodeStyle.cpp:372–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372void YGNodeStyleSetHeight(YGNodeRef node, float points) {
373 updateStyle<&Style::dimension, &Style::setDimension>(
374 node, Dimension::Height, StyleSizeLength::points(points));
375}
376
377void YGNodeStyleSetHeightPercent(YGNodeRef node, float percent) {
378 updateStyle<&Style::dimension, &Style::setDimension>(

Callers 7

buildTabBarMethod · 0.85
TEST_FFunction · 0.85
buildCarouselMethod · 0.85
TEST_FFunction · 0.85
buildLayoutMethod · 0.85
buildLayoutMethod · 0.85
buildFullHierarchyMethod · 0.85

Calls

no outgoing calls

Tested by 7

buildTabBarMethod · 0.68
TEST_FFunction · 0.68
buildCarouselMethod · 0.68
TEST_FFunction · 0.68
buildLayoutMethod · 0.68
buildLayoutMethod · 0.68
buildFullHierarchyMethod · 0.68