I am trying following demo code of fyne
:
package main
import (
"fyne.io/fyne/app"
"fyne.io/fyne/widget"
)
func main() {
a := app.New()
w := a.NewWindow("Hello")
w.SetContent(
widget.NewVBox(
widget.NewLabel("Hello Fyne!"),
widget.NewButton("Quit", func(){a.Quit()} ),
),
)
w.ShowAndRun()
}
It runs all right but I want to change color of label to blue and that of button to green. I see there is theme
but that seems to be for entire application and not for individual elements.
How can different colors be applied to different GUI components? Thanks for your help.