Moved TODO about Labels to mergeback/grid.go; will worry when Grids become a thing again.
This commit is contained in:
parent
acbe70b4e5
commit
c187aa59b9
|
@ -91,7 +91,6 @@ type Label interface {
|
||||||
|
|
||||||
// NewLabel creates a new Label with the given text.
|
// NewLabel creates a new Label with the given text.
|
||||||
// The Label will smartly vertically position itself relative to the control to its immediate right.
|
// 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 {
|
func NewLabel(text string) Label {
|
||||||
return newLabel(text)
|
return newLabel(text)
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// TODO Grids on GTK+ will not respect non-standalone Labels unless SetFilling()
|
||||||
|
|
||||||
// A Grid arranges Controls in a two-dimensional grid.
|
// 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).
|
// 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.
|
// Controls are aligned to the top left corner of each cell.
|
||||||
|
|
Loading…
Reference in New Issue