Версия 0.2.0 #2
BIN
src/icon.png
Normal file
BIN
src/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -19,6 +19,10 @@ import (
|
||||
|
||||
func main() {
|
||||
a := app.New()
|
||||
iconResource, err := fyne.LoadResourceFromPath("icon.png")
|
||||
if err == nil {
|
||||
a.SetIcon(iconResource)
|
||||
}
|
||||
w := a.NewWindow("GUI FFMpeg!")
|
||||
w.Resize(fyne.Size{Width: 800, Height: 600})
|
||||
w.CenterOnScreen()
|
||||
|
Loading…
Reference in New Issue
Block a user