Hiding button text actually works now

This commit is contained in:
2023-03-05 00:31:41 -05:00
parent 865dd20724
commit d38bd1cbf5
2 changed files with 20 additions and 10 deletions

View File

@@ -22,6 +22,12 @@ func run () {
container.Adopt(icons(theme.IconHome, theme.IconRepositories), true)
container.Adopt(icons(theme.IconFile, theme.IconCD), true)
container.Adopt(icons(theme.IconOpen, theme.IconRemoveBookmark), true)
closeButton := basicElements.NewButton("Ok")
closeButton.SetIcon(theme.IconYes)
closeButton.ShowText(false)
closeButton.OnClick(tomo.Stop)
container.Adopt(closeButton, false)
window.OnClose(tomo.Stop)
window.Show()