Open robloo opened 1 year ago
Note the change in behavior relates to AvaloniaProperty.UnsetValue
here:
The view model will default to UnsetValue
. In the past the property/binding system would see this, ignore it, and then continue to apply the "base" style even though it is bound. The base is the ControlCornerRadius
in the case of Fluent theme.
Somewhere in Avalonia v11 development behavior changes and UnsetValue in this case will still override any default and just set an empty value.
Describe the bug
Expander is missing corner radius
To Reproduce
View the Expander page in ControlCatalog
Expected behavior
Should have default 4px corner radius like other controls.
Screenshots
Desktop (please complete the following information):
Additional context
Likely related to the style system changes with theme variant or something. This might be the best example of the issue I've seen where existing resources are not found. Or... it could be a simple bug with the control theme or resource definitions. I haven't dug into anything yet and am only filing the issue.