Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Titlebar Backround color #51

Closed
Bondarenko1990 opened this issue Jun 8, 2022 · 3 comments
Closed

Titlebar Backround color #51

Bondarenko1990 opened this issue Jun 8, 2022 · 3 comments
Labels
invalid This doesn't seem right

Comments

@Bondarenko1990
Copy link

Bondarenko1990 commented Jun 8, 2022

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
Copy link
Owner

I wasn't able to reproduce this:
image

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

@dotMorten
Copy link
Owner

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.

@dotMorten dotMorten added the invalid This doesn't seem right label Jun 8, 2022
@Bondarenko1990
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants