-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
After updating the build process to use xcode 26, all instances of content button controls are now rendering incorrectly, with the CornerRadius property getting ignored and overriden by some default value, meaning that all uses of the property result in the same rounded corners being applied.
interestingly, when debugging, the page initially appears with the incorrect CornerRadius values, but if you manually edit the value it'll get applied under hot reload, so it is not like the property is entirely disconnected.
<mcb:ContentButton BackgroundColor="Red" CornerRadius="0" HeightRequest="100">
<Label Text="this should have square corners - CornerRadius=0" />
</mcb:ContentButton>
<mcb:ContentButton BackgroundColor="DarkOrange" HeightRequest="100">
<Label Text="this should have square corners - CornerRadius is unset" />
</mcb:ContentButton>
<mcb:ContentButton BackgroundColor="LightPink" CornerRadius="25" HeightRequest="100">
<Label Text="this should have slightly round corners - CornerRadius=25" />
</mcb:ContentButton>
<mcb:ContentButton BackgroundColor="LightBlue" CornerRadius="500" HeightRequest="100">
<Label Text="this should have very round corners - CornerRadius=500" />
</mcb:ContentButton>
the above xaml results in the following UI
Thoughts, workarounds?
Metadata
Metadata
Assignees
Labels
No labels