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

Function YGNodeStyleSetPadding

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

Source from the content-addressed store, hash-verified

269}
270
271void YGNodeStyleSetPadding(YGNodeRef node, YGEdge edge, float points) {
272 updateStyle<&Style::padding, &Style::setPadding>(
273 node, scopedEnum(edge), StyleLength::points(points));
274}
275
276void YGNodeStyleSetPaddingPercent(YGNodeRef node, YGEdge edge, float percent) {
277 updateStyle<&Style::padding, &Style::setPadding>(

Callers 3

buildTabBarMethod · 0.85
buildCarouselMethod · 0.85
buildFullHierarchyMethod · 0.85

Calls 1

scopedEnumFunction · 0.50

Tested by 3

buildTabBarMethod · 0.68
buildCarouselMethod · 0.68
buildFullHierarchyMethod · 0.68