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

Controls in Custom Titlebar aren't interactive #27

Closed
AlexanderBlackman opened this issue Feb 18, 2022 · 2 comments
Closed

Controls in Custom Titlebar aren't interactive #27

AlexanderBlackman opened this issue Feb 18, 2022 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@AlexanderBlackman
Copy link

AlexanderBlackman commented Feb 18, 2022

The custom titlebar works for textblocks/images, but not for interactive content.

example of titlebar not being interactive
None of the usercontrol buttons or textbox work or respond, but the titlebar is still dragable.

2nd Issue, if custom content is too wide, the min/max/close buttons are covered up and unusable.
Example of Image covering up titlebar buttons

Edit: On further testing, controls are ONLY interactive if they have a min/max/close button behind them (eg, when the window is very narrow), but become unresponsive after window is widened. Draggability is inconsistent, sometimes it works, sometimes it doesn't.
the controls work

@dotMorten dotMorten added enhancement New feature or request wontfix This will not be worked on labels May 31, 2022
@dotMorten
Copy link
Owner

I've decided to deprecate and ultimately remove the xaml titlebar APIs - use the Window.SetTitleBar( ... ) WinUIEx provides instead.
Wrt interactive content, there are some APIs for allowing this in the AppWindow class, but I've found them to be quite unpredictable an essentially unusable.

@AlexanderBlackman
Copy link
Author

No worries, I guess that's to expected when the official sdk finally provides the formerly missing features WinUIEx filled in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants