These are chat archives for AvaloniaUI/Avalonia

12th
Dec 2018
Joshua Davis
@a11smiles
Dec 12 2018 20:56

Two questions...

1) do I change the 'chrome' color of the window in MacOS (e.g. the header where the close, min and max buttons are)?

2) can I add custom menu items to the top menu in MacOS? I realize I could create my own app menu inside the Application window, but just wanted to check. Also the Control+Q highlights the system menu when pressed, but doesn't actually close the app. Any pointers?

danwalmsley
@danwalmsley
Dec 12 2018 21:09
2) is currently under developmebt
1) is not officially supported but I did add an api to the osx backend to do this and you can call it like this...
Control Q, you would have to add a keygesture to your app to handle that to close the app
Joshua Davis
@a11smiles
Dec 12 2018 21:13
@danwalmsley thanks!