-
Notifications
You must be signed in to change notification settings - Fork 611
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
Interactive controls become non-interactive after adding it back #1470
Labels
bug
Something isn't working
Comments
3 tasks
karkarl
pushed a commit
that referenced
this issue
Jun 11, 2024
…econd time (#1550) <!--- Provide a general summary of your changes in the Title above --> ## Description - `AppTitleBarTextBox` 's `Width` is not set, so `Width +=1 ` does nothing - The `SizeChanged` event handler is called **once**, because of `Visibility` changed, and it was put in a `StackPanel` that's vertically constrained, so the size change will occur once, not because `Width += 1`. Consecutive adding it to the title bar no longer triggers the event handler, therefore the issue - And `Width += 1` is a dirty hack anyway, does not need that. ## Motivation and Context Close #1470 ## How Has This Been Tested? Manual. ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which version of the app?
WinUI 3 Gallery
Description
Add interactive control to titlebar
Remove interactive control to titlebar
Add interactive control to titlebar
againNow the textbox in the titlebar is no longer clickable.
Screenshots
No response
Windows version
Windows 11 22H2 (22621)
Additional context
No response
The text was updated successfully, but these errors were encountered: