FluentAvalonia icon indicating copy to clipboard operation
FluentAvalonia copied to clipboard

Borderless window

Open taooceros opened this issue 1 year ago • 1 comments

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):

  • OS: Windows 11
  • FluentAvalonia Version 2.1.0-beta
  • Avalonia Version 11.1.0-beta

Additional context Add any other context about the problem here.

taooceros avatar Apr 06 '24 03:04 taooceros

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.

amwx avatar Apr 13 '24 20:04 amwx