amwx / FluentAvalonia

Control library focused on fluent design and bringing more WinUI controls into Avalonia
MIT License
1.05k stars 97 forks source link

MacOS titlebar has a space ontop of content window #559

Closed programClown closed 6 months ago

programClown commented 6 months ago

Hi amwx,

Why MacOS use AppWindow to self-define titlerbar, a space show ontop of content window?

775bab9930cf55655a9dd8e1f0b8580

timunie commented 6 months ago

@programClown use DevTools [F12] to investigate visual an logical tree

programClown commented 6 months ago

I have checked it, but FA's origin design contains the space. ^_^

timunie commented 6 months ago

https://github.com/amwx/FluentAvalonia/blob/d39b8ed848a22109f69e259e304143efdb12e57b/src/FluentAvalonia/Styling/ControlThemes/FAControls/AppWindowStyles.axaml#L141

should be settable here from code behind, check Demo App for docs and usage

programClown commented 6 months ago

@timunie Ok, thanks