mirror of https://github.com/rivo/tview.git
Merge pull request #889 from paololazzari/master
Fix grammar in description of SetColumns method
This commit is contained in:
commit
c961b0f0b9
11
grid.go
11
grid.go
|
@ -77,11 +77,12 @@ func NewGrid() *Grid {
|
||||||
|
|
||||||
// SetColumns defines how the columns of the grid are distributed. Each value
|
// SetColumns defines how the columns of the grid are distributed. Each value
|
||||||
// defines the size of one column, starting with the leftmost column. Values
|
// defines the size of one column, starting with the leftmost column. Values
|
||||||
// greater 0 represent absolute column widths (gaps not included). Values less
|
// greater than 0 represent absolute column widths (gaps not included). Values
|
||||||
// or equal 0 represent proportional column widths or fractions of the remaining
|
// less than or equal to 0 represent proportional column widths or fractions of
|
||||||
// free space, where 0 is treated the same as -1. That is, a column with a value
|
// the remaining free space, where 0 is treated the same as -1. That is, a
|
||||||
// of -3 will have three times the width of a column with a value of -1 (or 0).
|
// column with a value of -3 will have three times the width of a column with a
|
||||||
// The minimum width set with SetMinSize() is always observed.
|
// value of -1 (or 0). The minimum width set with SetMinSize() is always
|
||||||
|
// observed.
|
||||||
//
|
//
|
||||||
// Primitives may extend beyond the columns defined explicitly with this
|
// Primitives may extend beyond the columns defined explicitly with this
|
||||||
// function. A value of 0 is assumed for any undefined column. In fact, if you
|
// function. A value of 0 is assumed for any undefined column. In fact, if you
|
||||||
|
|
Loading…
Reference in New Issue