update ui for win11

This commit is contained in:
Eduard Gert
2026-05-29 15:40:34 +02:00
parent d0d7252c24
commit 0b19a99693
7 changed files with 120 additions and 133 deletions
+4 -10
View File
@@ -192,19 +192,13 @@ func main() {
Width: initialWidth,
Height: 640,
Hidden: true,
BackgroundColour: application.NewRGB(24, 26, 29),
BackgroundColour: services.WindowBackgroundColour,
URL: "/",
DisableResize: true,
MinimiseButtonState: application.ButtonHidden,
MaximiseButtonState: application.ButtonHidden,
Mac: application.MacWindow{
InvisibleTitleBarHeight: 38,
Backdrop: application.MacBackdropNormal,
TitleBar: application.MacTitleBarHiddenInset,
CollectionBehavior: application.MacWindowCollectionBehaviorFullScreenNone,
},
Windows: application.WindowsWindow{
Theme: application.Dark,
},
Mac: services.AppleMacOSAppearanceOptions(),
Windows: services.MicrosoftWindowsAppearanceOptions(),
Linux: application.LinuxWindow{
Icon: iconWindow,
},