Disable button label scroll bars
This commit is contained in:
parent
ca3f5847a7
commit
dd561eaee1
1 changed files with 1 additions and 0 deletions
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue