summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-02 17:44:17 -0600
committerJeff Carr <[email protected]>2025-03-02 17:44:17 -0600
commit3e7287baea931b27770a6d7b33db51b889db50c5 (patch)
treec8ee786730d66b1dca23ef3d85fa16b98d882647
parent04406b3561f5b4109c0f5111ae25ce6ddf284999 (diff)
better, but still wrong dropdown menu sizes
-rw-r--r--size.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/size.go b/size.go
index 0d86128..0383863 100644
--- a/size.go
+++ b/size.go
@@ -355,7 +355,9 @@ func (tk *guiWidget) getFullSize() rectType {
case widget.Checkbox:
return tk.buttonFullSize()
case widget.Dropdown:
- return tk.buttonFullSize()
+ r := tk.buttonFullSize()
+ r.w1 += 7 // TODO: fix this to be real
+ return r
default:
}