summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
Diffstat (limited to 'place.go')
-rw-r--r--place.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/place.go b/place.go
index c400bb8..98e9c78 100644
--- a/place.go
+++ b/place.go
@@ -77,6 +77,8 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) {
switch tk.node.WidgetType {
case widget.Window:
+ tk.full.w0 = startW
+ tk.full.h0 = startH
startW += 4
startH += 4
for _, child := range tk.children {