summaryrefslogtreecommitdiff
path: root/redo
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-14 13:15:11 -0400
committerPietro Gagliardi <[email protected]>2014-08-14 13:15:11 -0400
commitc187aa59b951b623f8156dac76b3396e133cfd05 (patch)
tree0a367247a2caccc6cda6658cf74265ed2cf3b82e /redo
parentacbe70b4e5688df23e04ac0e55d8515252a52275 (diff)
Moved TODO about Labels to mergeback/grid.go; will worry when Grids become a thing again.
Diffstat (limited to 'redo')
-rw-r--r--redo/basicctrls.go1
-rw-r--r--redo/mergeback/grid.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/redo/basicctrls.go b/redo/basicctrls.go
index d20b9b0..3eb7d66 100644
--- a/redo/basicctrls.go
+++ b/redo/basicctrls.go
@@ -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)
}
diff --git a/redo/mergeback/grid.go b/redo/mergeback/grid.go
index 3290b78..b303a2e 100644
--- a/redo/mergeback/grid.go
+++ b/redo/mergeback/grid.go
@@ -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.