Skip to content

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

Closed
@robert-abeo

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

Metadata

Metadata

Assignees

Labels

BugProduct bug (most likely)InvestigateRequires further investigation by the WPF team.Win 11 Theming

Type

No type

Projects

Status

☑ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions