amwx / FluentAvalonia

Control library focused on fluent design and bringing more WinUI controls into Avalonia
MIT License
947 stars 92 forks source link

Borderless window #549

Closed taooceros closed 2 weeks ago

taooceros commented 4 months ago

Describe the bug It is no longer possible to hide the titlebar with the following combination

    ExtendClientAreaTitleBarHeightHint="0"
    ExtendClientAreaToDecorationsHint="True"
    ExtendClientAreaChromeHints="NoChrome"

Screenshots If applicable, add screenshots to help explain your problem. FluentAvaloniaTheme image FluentTheme image

Desktop/Platform (please complete the following information):

Additional context Add any other context about the problem here.

amwx commented 4 months ago

Are you using a normal window, or my AppWindow? If you're using AppWindow, you cannot use ExtendClientArea... hints that Avalonia provides. If you want to mess with the style of the window - stick with a normal Window. With AppWindow, you can replace the titlebar (if that's all you want), but the caption buttons (min/max/close), and the system window border are not customizable or removable.