Skip to content

Commit 13c9923

Browse files
committed
Improve SettingsCard ActionIcon for RTL
1 parent 692ce77 commit 13c9923

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

dev/DevWinUI/Controls/Ported/SettingsCard/SettingsCard.Properties.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public string LaunchUri
5151
nameof(ActionIcon),
5252
typeof(IconElement),
5353
typeof(SettingsCard),
54-
new PropertyMetadata(defaultValue: "\ue974"));
54+
new PropertyMetadata(defaultValue: null));
5555

5656
/// <summary>
5757
/// The backing <see cref="DependencyProperty"/> for the <see cref="ActionIconToolTip"/> property.

dev/DevWinUI/Controls/Ported/SettingsCard/SettingsCard.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ public partial class SettingsCard : ButtonBase
7272
public SettingsCard()
7373
{
7474
this.DefaultStyleKey = typeof(SettingsCard);
75+
76+
ActionIcon = new FontIcon { Glyph = "\ue974", MirroredWhenRightToLeft = true };
7577
}
7678

7779
/// <inheritdoc />

0 commit comments

Comments
 (0)