C
C#8mo ago
Syntia

Problem with corner radius XAML property

I use a border with these properties:
<Border CornerRadius="3" Background="{StaticResource Editor.Window.PurpleBrush3}">
<Border CornerRadius="3" Background="{StaticResource Editor.Window.PurpleBrush3}">
My problem is, only the left corners are rounded and not the right corners, I've tried to put "3,3,3,3" instead of just "3", it doesn't change anything. Anyone knows this issue ?
7 Replies
Buddy
Buddy8mo ago
Please paste the entire xaml $paste
MODiX
MODiX8mo ago
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
Syntia
SyntiaOP8mo ago
BlazeBin - ypcywovnzbdh
A tool for sharing your source code with the world!
Buddy
Buddy8mo ago
Do you use the designer?
Syntia
SyntiaOP8mo ago
no i only type
Buddy
Buddy8mo ago
Okay, good. I assume you know that Margin is the spacing between elements and not absolute position? Please avoid setting the sizes manually but rely on the layout controls to do their job.
Syntia
SyntiaOP8mo ago
Yeah I know but tbh xaml is not rly my speciality so sometime I don't find exactly how to position perfectly everything
Want results from more Discord servers?
Add your server