-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
Borderless Window Inconsistency between Wpf and Gtk #1928
Comments
This is the default of WPF when creating resizable windows. It doesn't have a border if it is not resizable. To change it, you could do something like:
|
That breaks the MenuBar (Items can't be clicked on) |
You'll have to play around with the WindowChrome properties then, perhaps don't allow resizing at the top of the window by using |
Could just disable resizing and then there's no border at all, which IMO should be the default behavior to match GTK. |
A Thickness of 0 still does not allow clicking on the menus.
That does work, but i want a resizable window with no borders |
Potentially could override the OnMouseDown function on the window class itself, and check it the cursor position is at the edge of the window and resize from there. |
This should be easier to do, regardless of the default. I think my suggestions aren't quite working correctly so it needs to be figured out. |
From the Discusion:
Borderless Window? #1926
We found something that might be considered an Issue
This window is in "borderless" mode, but it still contains a border in Wpf.
Is this intended behaviour of a Wpf window?
According to Documentation, this Window in Gtk does not have a Border at all.
This might be considered a platform inconsistency.
The text was updated successfully, but these errors were encountered: