MCPcopy Index your code
hub / github.com/lxn/walk / SetLastColumnStretched

Method SetLastColumnStretched

tableview.go:1496–1506  ·  view source on GitHub ↗

SetLastColumnStretched sets if the last column should take up all remaining horizontal space of the *TableView. The effect of setting this is persistent.

(value bool)

Source from the content-addressed store, hash-verified

1494//
1495// The effect of setting this is persistent.
1496func (tv *TableView) SetLastColumnStretched(value bool) error {
1497 if value {
1498 if err := tv.StretchLastColumn(); err != nil {
1499 return err
1500 }
1501 }
1502
1503 tv.lastColumnStretched = value
1504
1505 return nil
1506}
1507
1508// StretchLastColumn makes the last column take up all remaining horizontal
1509// space of the *TableView.

Callers 1

CreateMethod · 0.95

Calls 1

StretchLastColumnMethod · 0.95

Tested by

no test coverage detected