Text-less buttons place their icon in the middle

This commit is contained in:
Sasha Koshka 2024-06-07 01:58:29 -04:00
parent bb320dfcc9
commit 8139d871cc

View File

@ -6,7 +6,7 @@ import "git.tebibyte.media/tomo/tomo/event"
import "git.tebibyte.media/tomo/objects/layouts" import "git.tebibyte.media/tomo/objects/layouts"
var buttonLayout = layouts.NewGrid([]bool { true }, []bool { true }) 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 }) var bothButtonLayout = layouts.NewGrid([]bool { false, true }, []bool { true })
// Button is a clickable button. // Button is a clickable button.