Skip to content

Commit

Permalink
Merge pull request AvaloniaUI#9947 from AvaloniaUI/stable/nswindow-se…
Browse files Browse the repository at this point in the history
…tappearance

[stable] macOS: Set Window appearance to fix missing white border
  • Loading branch information
danwalmsley authored Jan 10, 2023
2 parents d926650 + 561b04a commit c273732
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions native/Avalonia.Native/src/OSX/WindowBaseImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
[Window setContentMaxSize:lastMaxSize];

[Window setOpaque:false];
[Window setAppearance:[NSAppearance appearanceNamed:NSAppearanceNameAqua]];
}

HRESULT WindowBaseImpl::ObtainNSViewHandle(void **ret) {
Expand Down

0 comments on commit c273732

Please sign in to comment.