Fix #132: provide standard sized icons
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
icon_path = ./res/appicon-500.png
|
icon_path = ./res/appicon-512.png
|
||||||
icon_path_mac = ./res/appicon-macos.png
|
icon_path_mac = ./res/appicon-macos.png
|
||||||
app_name = Supersonic
|
app_name = Supersonic
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
fyne bundle -package res -prefix Res appicon-250.png > bundled.go
|
fyne bundle -package res -prefix Res appicon-256.png > bundled.go
|
||||||
fyne bundle -append -prefix Res albumplaceholder.png >> bundled.go
|
fyne bundle -append -prefix Res albumplaceholder.png >> bundled.go
|
||||||
fyne bundle -append -prefix Res icons/freepik/disc.png >> bundled.go
|
fyne bundle -append -prefix Res icons/freepik/disc.png >> bundled.go
|
||||||
fyne bundle -append -prefix Res icons/freepik/disc-invert.png >> bundled.go
|
fyne bundle -append -prefix Res icons/freepik/disc-invert.png >> bundled.go
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ func (a *AboutDialog) MinSize() fyne.Size {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (a *AboutDialog) buildMainTabContainer(version string) *fyne.Container {
|
func (a *AboutDialog) buildMainTabContainer(version string) *fyne.Container {
|
||||||
iconImage := canvas.NewImageFromResource(res.ResAppicon250Png)
|
iconImage := canvas.NewImageFromResource(res.ResAppicon256Png)
|
||||||
iconImage.FillMode = canvas.ImageFillContain
|
iconImage.FillMode = canvas.ImageFillContain
|
||||||
iconImage.SetMinSize(fyne.NewSize(64, 64))
|
iconImage.SetMinSize(fyne.NewSize(64, 64))
|
||||||
title := widget.NewRichTextWithText("Supersonic")
|
title := widget.NewRichTextWithText("Supersonic")
|
||||||
|
|||||||
+1
-1
@@ -144,7 +144,7 @@ func (m *MainWindow) SetupSystemTrayMenu(appName string, fyneApp fyne.App) {
|
|||||||
fyne.NewMenuItem("Hide", m.Window.Hide),
|
fyne.NewMenuItem("Hide", m.Window.Hide),
|
||||||
)
|
)
|
||||||
desk.SetSystemTrayMenu(menu)
|
desk.SetSystemTrayMenu(menu)
|
||||||
desk.SetSystemTrayIcon(res.ResAppicon250Png)
|
desk.SetSystemTrayIcon(res.ResAppicon256Png)
|
||||||
m.haveSystemTray = true
|
m.haveSystemTray = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user