summaryrefslogtreecommitdiff
path: root/redo/sizing_windows.go
diff options
context:
space:
mode:
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,