Skip to content

Fluent2 ToolTip Missing Some Lightweight Styling Resources Available in WinUI3 #9671

Closed

Description

@robert-abeo

Description

Fluent2's ToolTip is missing some lightweight styling resource that can be used to change common properties without re-templating. WPF just hardcodes these values. This is especially problematic for padding which is set across two different controls in the template instead of just one as per the standard.

Reproduction Steps

See current code with hard-coded values:

Expected behavior

WPF's Fluent2 implementation should follow upstream WinUI3 for ALL resources to ensure compatibility. This is a big task to review and align all the resource keys but I think it's needed.

See upstream:

https://github.com/microsoft/microsoft-ui-xaml/blob/aeed4c19e2fc7c2c093216a51b651f2f0890c930/src/controls/dev/CommonStyles/ToolTip_themeresources.xaml#L76-L77

Actual behavior

WPF's Fluent2 implementation has hardcoded values it shouldn't.

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

Activity

  1. added
    Bug
    Investigate
    on Aug 30, 2024
  2. self-assigned this
    on Sep 3, 2024
  3. siagupta0202 commented on Apr 22, 2025

    @siagupta0202
    Contributor

    @robert-abeo the PR fixing this has already been merged via #9786. The changes should be available in .NET 9 itself.

  4. locked and limited conversation to collaborators on May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugInvestigateWin 11 Theming

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions