summaryrefslogtreecommitdiff
path: root/size.go
diff options
context:
space:
mode:
Diffstat (limited to 'size.go')
-rw-r--r--size.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/size.go b/size.go
index 30aab68..5b9ff1f 100644
--- a/size.go
+++ b/size.go
@@ -194,6 +194,7 @@ func (tk *guiWidget) setFullSize() bool {
}
// widget might be forced to a certain location
if tk.full.w0 < tk.force.w0 {
+ tk.gocuiSize.w0 = tk.force.w0
tk.full.w0 = tk.force.w0
changed = false
}
@@ -207,6 +208,7 @@ func (tk *guiWidget) setFullSize() bool {
}
// widget might be forced to a certain location
if tk.full.h0 < tk.force.h0 {
+ tk.gocuiSize.h0 = tk.force.h0
tk.full.h0 = tk.force.h0
changed = false
}