Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fluent] Fixes multiple issues in DatePicker style #10688

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dipeshmsft
Copy link
Member

@dipeshmsft dipeshmsft commented Apr 1, 2025

Fixes #10519

Description

Fixes multiple issues in DatePicker style including the ones mentioned in the above issue. Few of these include :

  1. Fixed calendar button sizing in DatePicker - when using custom height, in default scenario.
  2. Modified the template : removed extra accentborder element, used new ControlElevationBorderBrush instead.
  3. Fixed the popup background and drop shadow.
  4. Matched the tab-stop, alignment, etc behavior with Aero2 theme to minimize breaking changes wrt to Aero2.

Customer Impact

Makes it easier for developers to adopt fluent theme.

Regression

N/A

Testing

Local app testing.

Risk

Low - Medium. If developers have adopted Fluent in .NET 9 they would need to make changes in their applications, to incorporate the new behavior. For devs moving from Aero2 to Fluent will see less disruptions in the style.

Microsoft Reviewers: Open in CodeFlow

@Copilot Copilot bot review requested due to automatic review settings April 1, 2025 12:42
@dipeshmsft dipeshmsft requested review from a team as code owners April 1, 2025 12:42
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (5)
  • src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Resources/Variables.xaml: Language not supported
  • src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Styles/DatePicker.xaml: Language not supported
  • src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Dark.xaml: Language not supported
  • src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.HC.xaml: Language not supported
  • src/Microsoft.DotNet.Wpf/src/Themes/PresentationFramework.Fluent/Themes/Fluent.Light.xaml: Language not supported

@dipeshmsft dipeshmsft requested a review from siagupta0202 April 1, 2025 12:42
@dotnet-policy-service dotnet-policy-service bot added the PR metadata: Label to tag PRs, to facilitate with triage label Apr 1, 2025
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 12.67103%. Comparing base (6681409) to head (aa7df4b).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #10688         +/-   ##
===================================================
- Coverage   12.71897%   12.67103%   -0.04795%     
===================================================
  Files           3316        3316                 
  Lines         665321      665321                 
  Branches       74667       74667                 
===================================================
- Hits           84622       84303        -319     
- Misses        578480      578813        +333     
+ Partials        2219        2205         -14     
Flag Coverage Δ
Debug 12.67103% <ø> (-0.04795%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dipeshmsft dipeshmsft added this to the .NET 10 milestone Apr 2, 2025
@siagupta0202 siagupta0202 self-assigned this Apr 3, 2025
@dipeshmsft dipeshmsft modified the milestones: .NET 10, 10.0.0 Apr 9, 2025
@dipeshmsft dipeshmsft force-pushed the fluent/style-fix/datepicker-2 branch from a55ef45 to 2ddd166 Compare April 11, 2025 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR metadata: Label to tag PRs, to facilitate with triage Win 11 Theming
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

[ Fluent ] Fix DatePicker Style
2 participants