Replies: 3 comments
-
Can you try the overload location suggestion here instead: ? |
Beta Was this translation helpful? Give feedback.
-
That works. I think it makes sense to correct the documentation then, as the suggested code does not work, but yours does. Edit: This tutorial should be corrected as well: |
Beta Was this translation helpful? Give feedback.
-
@chigy as FYI. |
Beta Was this translation helpful? Give feedback.
-
Since winui 2.5 the corner radius is set to round values. To get back the old behavior a fix is described here:
https://docs.microsoft.com/en-us/windows/uwp/design/style/rounded-corner#page-or-app-wide-cornerradius-changes
This works for all controls, except TextBoxes.
I dont know why this happens, the code looks plausibly correct to me:
https://github.com/microsoft/microsoft-ui-xaml/blob/release/2.5/dev/CommonStyles/TextBox_themeresources.xaml#L110
So maybe I am doing something wrong? I want to avoid setting the radius in each xaml again...
Beta Was this translation helpful? Give feedback.
All reactions