some tweaks to ui theming for Fyne 2.3

This commit is contained in:
Drew Weymouth
2023-03-04 09:25:12 -08:00
parent b2fdca85a9
commit 37f272e702
5 changed files with 48 additions and 5 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import (
"path"
"supersonic/backend"
"supersonic/ui"
"supersonic/ui/theme"
"time"
"fyne.io/fyne/v2"
@@ -28,7 +29,7 @@ func main() {
}
fyneApp := app.New()
fyneApp.Settings().SetTheme(&ui.MyTheme{})
fyneApp.Settings().SetTheme(&theme.MyTheme{})
w := float32(myApp.Config.Application.WindowWidth)
if w <= 1 {
w = 1000