summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
Diffstat (limited to 'place.go')
-rw-r--r--place.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/place.go b/place.go
index 03fa579..278315f 100644
--- a/place.go
+++ b/place.go
@@ -166,8 +166,8 @@ func (w *guiWidget) realGocuiSize() *rectType {
var f func(tk *guiWidget, r *rectType)
newR := new(rectType)
// initialize the values to opposite
- newR.w0 = 80
- newR.h0 = 24
+ newR.w0 = outputW
+ newR.h0 = outputH
if me.baseGui != nil {
maxW, maxH := me.baseGui.Size()
newR.w0 = maxW