From c187aa59b951b623f8156dac76b3396e133cfd05 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 14 Aug 2014 13:15:11 -0400 Subject: [PATCH] Moved TODO about Labels to mergeback/grid.go; will worry when Grids become a thing again. --- redo/basicctrls.go | 1 - redo/mergeback/grid.go | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) 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.