dotMorten / WinUIEx

WinUI Extensions
https://dotmorten.github.io/WinUIEx
MIT License
602 stars 38 forks source link

Titlebar Backround color #51

Closed Bondarenko1990 closed 2 years ago

Bondarenko1990 commented 2 years ago

I added button "Change Background color". On the click event, I call the this.SetTitleBarBackgroundColors(Microsoft.UI.Colors.Black); And the color near the icon does not change Background

dotMorten commented 2 years ago

I wasn't able to reproduce this: image

I called this.SetTitleBarBackgroundColors(Microsoft.UI.Colors.Red); during startup.

dotMorten commented 2 years ago

Aaaah if I do it delayed I see the behavior. It "fixes" itself after moving the window. This would be an AppWindow bug. You should log this over in the Windows App SDK repo.

Bondarenko1990 commented 2 years ago

Aaaah if I do it delayed I see the behavior. It "fixes" itself after moving the window. This would be an AppWindow bug. You should log this over in the Windows App SDK repo.

with custom titlebar I don't have that bug image