MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / setWidthHeight

Method setWidthHeight

apps/ui/src/layouts/myview-base.ts:32–35  ·  view source on GitHub ↗
(child: any, width: any, height: any)

Source from the content-addressed store, hash-verified

30 }
31
32 protected setWidthHeight(child: any, width: any, height: any) {
33 child.width = width;
34 child.height = height;
35 }
36
37 protected setMinWidthHeight(child: any, minWidth: any, minHeight: any) {
38 child.minWidth = minWidth;

Callers 4

onWidthHeightMethod · 0.80
onAllPropertiesMethod · 0.80
onWidthHeightMethod · 0.80
onAllPropertiesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected