Moved TODO about Labels to mergeback/grid.go; will worry when Grids become a thing again.

This commit is contained in:
Pietro Gagliardi 2014-08-14 13:15:11 -04:00
parent acbe70b4e5
commit c187aa59b9
2 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,6 @@ type Label interface {
// NewLabel creates a new Label with the given text.
// The Label will smartly vertically position itself relative to the control to its immediate right.
// TODO Grids on GTK+ will not respect this unless SetFilling()
func NewLabel(text string) Label {
return newLabel(text)
}

View File

@ -6,6 +6,8 @@ import (
"fmt"
)
// TODO Grids on GTK+ will not respect non-standalone Labels unless SetFilling()
// A Grid arranges Controls in a two-dimensional grid.
// The height of each row and the width of each column is the maximum preferred height and width (respectively) of all the controls in that row or column (respectively).
// Controls are aligned to the top left corner of each cell.