-
-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Describe the bug
Setting ShowTitlebarBackground to False removes the ability to drag and move the maximized or normal window; it is only possible to resize, minimize, and maximize from a normal/maximized state.
To Reproduce
Steps to reproduce the behavior:
- Add <shadui:Window />
- Set ShowTitlebarBackground property to false
- It is now impossible to drag and move the window from the Titlebar
Expected behavior
The window should be able to be dragged and moved independently of the normal/maximized state.
Screenshots
N/A, it's a behavior bug
Desktop (please complete the following information):
- OS: Windows 10
- Version 22H2 19045.6216
Additional context
This might be because controls with a transparent background or an undefined value lose pointer events like click, hover, drag, etc.
One possible solution I can think of is to use the BackgroundColor when the value is False, or to set the BackgroundColor to the lowest possible opacity/alpha value so that it remains interactive.