Skip to content

Commit 4713515

Browse files
committed
debugui: fix comments
1 parent 96f66cf commit 4713515

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

layout.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,10 @@ func (c *Context) layout() (*layout, error) {
138138
// For example, if widths is []int{100, -1}, the first column is 100 pixels and the second column takes the remaining space.
139139
// If widths is []int{100, -1, -2}, the first column is 100 pixels, the second column takes 1/3 of the remaining space, and the third column takes 2/3 of the remaining space.
140140
//
141-
// If widths is nil, one column width with -1 is used for windows, and 0 (the default size) for popups.
141+
// If widths is nil, one column width with -1 is used for windows, and 0 (the default size) is used for popups.
142142
// If heights is nil, 0 (the default size) is used.
143143
//
144-
// When the number of items exceeds the number of grid cells, a new row is started with the same grid layout.
144+
// When the number of items exceeds the number of grid cells, a new row starts with the same grid layout.
145145
func (c *Context) SetGridLayout(widths []int, heights []int) {
146146
c.wrapError(func() error {
147147
return c.setGridLayout(widths, heights)

0 commit comments

Comments
 (0)