MCPcopy
hub / github.com/mathaou/termdbms / SetWidth

Method SetWidth

list/list.go:549–551  ·  view source on GitHub ↗

SetWidth sets the width of this component.

(v int)

Source from the content-addressed store, hash-verified

547
548// SetWidth sets the width of this component.
549func (m *Model) SetWidth(v int) {
550 m.setSize(v, m.height)
551}
552
553// SetHeight sets the height of this component.
554func (m *Model) SetHeight(v int) {

Callers 1

HandleWindowSizeEventsFunction · 0.80

Calls 1

setSizeMethod · 0.95

Tested by

no test coverage detected