-
Notifications
You must be signed in to change notification settings - Fork 703
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
Non resizable window withouth title bar has border when updating to 1.6 #9978
Comments
Also running into this issue, worked fine on 1.5. Is there any fix / workaround? |
@Usergitbit There is no fix that I'm aware of and I do not now if this will be fixed in the next release. I guess as a workaround you can manually implement the MaxWidth/MaxHeight/MinWidth/MinHeight on the window, set the window resizable and set the same value to the max and min property. You can look at this great project for extended features on the Window class. |
You can remove the style for the frame :
with :
|
That seems to work for me, thanks @castorix! |
Workaround works for me, but still it's a workaround please fix that |
Really annoying bug where customers are asking questions to the developer (us) on why their app is "messed up".. Years later and WinUI3 is still terrible |
This trick works for me after upgrading 1.6 even though I decided to revert back to 1.5 because of other issues.
|
Nice Trick |
Try |
Just did some reverse work: IsAlwaysOnTop = WS_EX_TOPMOST |
another solution:
|
Describe the bug
With the 1.6 version i get a white border around a window that's not resizable.
Steps to reproduce the bug
Create a window with the following code:
Expected behavior
There is no border around the window
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 1.6.0: 1.6.240829007
Windows version
Windows 11 (22H2): Build 22621
Additional context
Works fine with WindowsAppSDK 1.5.240802000
The text was updated successfully, but these errors were encountered: