summaryrefslogtreecommitdiff
path: root/place.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-02-08 13:57:31 -0600
committerJeff Carr <[email protected]>2025-02-08 13:57:31 -0600
commit5827b9ace289a645be2189c12865f05f59a25fca (patch)
treea7e127192f41f5588a29bab43850c6932c360e74 /place.go
parentc4f9bac85eeafb4916b57d6f8953fa930d6d098e (diff)
buttons in dense mode line up correctly
Diffstat (limited to 'place.go')
-rw-r--r--place.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/place.go b/place.go
index b9b18cd..7d74169 100644
--- a/place.go
+++ b/place.go
@@ -148,6 +148,9 @@ func (tk *guiWidget) placeWidgets(startW int, startH int) (int, int) {
tk.color = nil
tk.defaultColor = nil
tk.setColorButtonDense()
+ // if tk.full.Height() > 0 {
+ tk.full.h1 = tk.full.h0
+ // }
}
tk.gocuiSetWH(startW, startH)
return tk.gocuiSize.Width(), tk.gocuiSize.Height()