You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When showing a content dialog with IsFooterVisible=False, the bottom corners are missing the radius (not rounded) in the Light mode theme.
To Reproduce
Create a content dialog, either in XAML or using the ContentDialogService, and set IsFooterVisible=False. Then switch between Light and Dark mode to see the difference.
Expected behavior
The bottom corners of the ContentDialog should be rounded in Light mode like they are in Dark mode.
Screenshots
Light Mode:
Dark Mode:
OS version
Windows 11 Pro (23H2, build 22531.4602)
.NET version
.NET 8
WPF-UI NuGet version
WPF-UI 3.0.5
Additional context
No response
The text was updated successfully, but these errors were encountered:
I've discovered that the issue comes down to the LayerFillColorAlt color applied to the ContentDialogTopOverlay brush used on the Border element of the ContentDialog control that uses the DialogOverlayCornerRadius.
The color in Dark mode is set to #0DFFFFFF which is White with an opacity of 5%, while in Light mode it is #FFFFFFFF which is White with an opacity of 100%.
It's a little difficult to see, but if you zoom in on the corner in dark mode, you can see the faint, transparent, un-radiused border.
Not sure what the best solution for this is. A style trigger to change the corner radius depending on the setting of IsFooterVisible seems reasonable.
Describe the bug
When showing a content dialog with IsFooterVisible=False, the bottom corners are missing the radius (not rounded) in the Light mode theme.
To Reproduce
Create a content dialog, either in XAML or using the ContentDialogService, and set IsFooterVisible=False. Then switch between Light and Dark mode to see the difference.
Expected behavior
The bottom corners of the ContentDialog should be rounded in Light mode like they are in Dark mode.
Screenshots
Light Mode:
![image](https://private-user-images.githubusercontent.com/51034739/401267252-5d4daaa8-a808-4fe6-8119-f4f6faa63c9a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzI0NTgsIm5iZiI6MTczODkzMjE1OCwicGF0aCI6Ii81MTAzNDczOS80MDEyNjcyNTItNWQ0ZGFhYTgtYTgwOC00ZmU2LTgxMTktZjRmNmZhYTYzYzlhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEyNDIzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBiYjU4YTMyYTg4MTgwMzk0MGMzMDljNzQxZjM4ZjNhYmY0MWIzMDA4MDRiY2U1MThhMDk0YTYyMWM5MTU5NGEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.SITpD_kV72BIvCvgLdEDVLw_2T4pI8p6oPnbQMgdWxY)
Dark Mode:
![image](https://private-user-images.githubusercontent.com/51034739/401267400-cfb30809-d1a7-49e7-873a-3c56d3e43bce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5MzI0NTgsIm5iZiI6MTczODkzMjE1OCwicGF0aCI6Ii81MTAzNDczOS80MDEyNjc0MDAtY2ZiMzA4MDktZDFhNy00OWU3LTg3M2EtM2M1NmQzZTQzYmNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA3VDEyNDIzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM1Y2FjNWMxMjY0MjFjMjM5NTNhMGM1MzAzOTZjMGFlMDhiODA5NmVkM2E1NmJkNWU0YTBhMDA4ZDIzN2Y3MTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.AUDjcONL2hAq7FaD6DtlDhskd-IfKvhino4rDA2UfXY)
OS version
Windows 11 Pro (23H2, build 22531.4602)
.NET version
.NET 8
WPF-UI NuGet version
WPF-UI 3.0.5
Additional context
No response
The text was updated successfully, but these errors were encountered: