MCPcopy Index your code
hub / github.com/nodegui/react-nodegui / columnProps

Function columnProps

src/components/GridView/RNGridView.ts:50–58  ·  view source on GitHub ↗
(props: GridViewColumnProps)

Source from the content-addressed store, hash-verified

48 widget.layout()?.setVerticalSpacing(spacing);
49 },
50 set columnProps(props: GridViewColumnProps) {
51 for (const indexString of Object.keys(props)) {
52 const index = parseInt(indexString, 10);
53 const { stretch, minWidth } = props[index];
54
55 widget.layout()?.setColumnStretch(index, stretch ?? 0);
56 widget.layout()?.setColumnMinimumWidth(index, minWidth ?? 0);
57 }
58 },
59 set rowProps(props: GridViewRowProps) {
60 for (const indexString of Object.keys(props)) {
61 const index = parseInt(indexString, 10);

Callers

nothing calls this directly

Calls 1

layoutMethod · 0.45

Tested by

no test coverage detected