From 8139d871ccdc2f2350d872449439e98f06a19c9a Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Fri, 7 Jun 2024 01:58:29 -0400 Subject: [PATCH] Text-less buttons place their icon in the middle --- button.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/button.go b/button.go index 20b3a2f..604364d 100644 --- a/button.go +++ b/button.go @@ -6,7 +6,7 @@ import "git.tebibyte.media/tomo/tomo/event" import "git.tebibyte.media/tomo/objects/layouts" var buttonLayout = layouts.NewGrid([]bool { true }, []bool { true }) -var iconButtonLayout = layouts.NewGrid([]bool { false }, []bool { true }) +var iconButtonLayout = layouts.NewGrid([]bool { true }, []bool { true }) var bothButtonLayout = layouts.NewGrid([]bool { false, true }, []bool { true }) // Button is a clickable button.