Fix #132: provide standard sized icons
This commit is contained in:
@@ -52,7 +52,7 @@ func (a *AboutDialog) MinSize() fyne.Size {
|
||||
}
|
||||
|
||||
func (a *AboutDialog) buildMainTabContainer(version string) *fyne.Container {
|
||||
iconImage := canvas.NewImageFromResource(res.ResAppicon250Png)
|
||||
iconImage := canvas.NewImageFromResource(res.ResAppicon256Png)
|
||||
iconImage.FillMode = canvas.ImageFillContain
|
||||
iconImage.SetMinSize(fyne.NewSize(64, 64))
|
||||
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),
|
||||
)
|
||||
desk.SetSystemTrayMenu(menu)
|
||||
desk.SetSystemTrayIcon(res.ResAppicon250Png)
|
||||
desk.SetSystemTrayIcon(res.ResAppicon256Png)
|
||||
m.haveSystemTray = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user