Updated the examples

This commit is contained in:
Sasha Koshka
2023-04-18 16:18:30 -04:00
parent 14080b1f88
commit 7cdc5868e5
20 changed files with 271 additions and 169 deletions

View File

@@ -11,7 +11,7 @@ func main () {
func run () {
window, _ := tomo.NewWindow(tomo.Bounds(0, 0, 480, 360))
window.SetTitle("example label")
window.Adopt(elements.NewLabel(text, true))
window.Adopt(elements.NewLabelWrapped(text))
window.OnClose(tomo.Stop)
window.Show()
}