summaryrefslogtreecommitdiff
path: root/redo/mergeback/grid.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-06 10:50:07 -0400
committerPietro Gagliardi <[email protected]>2014-08-06 10:50:07 -0400
commitd307848c8cec7746900aab1edc27d32e9e57be5a (patch)
tree7a8cf4a3b4f679cbedda10c29b873f2af70ad9a4 /redo/mergeback/grid.go
parentb3b91c68d0b2613700cf84b5887b5ac79da0eb56 (diff)
Removed leftover TODOs: container does handle margins now.
Diffstat (limited to 'redo/mergeback/grid.go')
-rw-r--r--redo/mergeback/grid.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/redo/mergeback/grid.go b/redo/mergeback/grid.go
index 6465294..3290b78 100644
--- a/redo/mergeback/grid.go
+++ b/redo/mergeback/grid.go
@@ -189,7 +189,6 @@ func (g *Grid) allocate(x int, y int, width int, height int, d *sysSizeData) (al
}
// filling and stretchy are ignored for preferred size calculation
-// We don't consider the margins here, but will need to in container if Window.SizeToFit() is ever made a thing. TODO
func (g *Grid) preferredSize(d *sysSizeData) (width int, height int) {
max := func(a int, b int) int {
if a > b {