From 5827b9ace289a645be2189c12865f05f59a25fca Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 8 Feb 2025 13:57:31 -0600 Subject: buttons in dense mode line up correctly --- place.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'place.go') 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() -- cgit v1.2.3