Text-less buttons place their icon in the middle
This commit is contained in:
parent
bb320dfcc9
commit
8139d871cc
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user