Replies: 2 comments
-
Seriously, how to remove the shadow and the border in Windows 11? I tried setting a bunch of properties to make the window transparent, and it does become transparent, but the border and the shadow are there anyway. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Removing the line ExtendClientAreaToDecorationsHint="True" fixed the issue for me |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to have a custom window with rounded borders, I've applied properties mentioned below on the window and put a Border in the window as parent control with a CornderRadius and a padding but the final UI I got a window with transparent squared corners.
I think the problem is that, the window still have shadow on it and if shadow is removed from the window, the problem should be fixed.
It happening on window (Avalonia 0.10.8)
Properties applied on the windows :
CanResize="True" WindowStartupLocation="CenterScreen" ExtendClientAreaToDecorationsHint="True" ExtendClientAreaChromeHints="NoChrome" ExtendClientAreaTitleBarHeightHint="-1" TransparencyLevelHint="Transparent" SystemDecorations="None" Background="Transparent" UseLayoutRounding="True"
Result :
Beta Was this translation helpful? Give feedback.
All reactions