Disable button label scroll bars

This commit is contained in:
Trevor Slocum 2023-10-24 19:24:27 -07:00
parent ca3f5847a7
commit dd561eaee1

View file

@ -27,6 +27,7 @@ func NewButton(label string, onSelected func() error) *Button {
l.SetBackgroundColor(transparent)
l.SetHorizontal(messeji.AlignCenter)
l.SetVertical(messeji.AlignCenter)
l.SetScrollBarVisible(false)
return &Button{
Box: NewBox(),