summaryrefslogtreecommitdiff
path: root/redo/sizing_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-17 11:24:58 -0400
committerPietro Gagliardi <[email protected]>2014-07-17 11:24:58 -0400
commit659bc03f171d8639eefa47e5d37abe7af81e5534 (patch)
tree34ac690633b55d25596e40d69189ffa9332e5ce4 /redo/sizing_windows.go
parent819caea42279fdc0d37b7a55aaeccbd825d2d638 (diff)
Migrated control sizing code for Mac OS X.
Diffstat (limited to 'redo/sizing_windows.go')
-rw-r--r--redo/sizing_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/sizing_windows.go b/redo/sizing_windows.go
index d218295..7455dc0 100644
--- a/redo/sizing_windows.go
+++ b/redo/sizing_windows.go
@@ -56,6 +56,7 @@ func (w *window) translateAllocationCoords(allocations []*allocation, winwidth,
}
// TODO move this to sizing.go
+// TODO when doing so, account for margins
func (w *widgetbase) allocate(x int, y int, width int, height int, d *sizing) []*allocation {
return []*allocation{&allocation{
x: x,