Skip to content

Commit

Permalink
Fix stopping at Card icon #718
Browse files Browse the repository at this point in the history
  • Loading branch information
pomianowski committed Aug 15, 2023
1 parent 50ae4c8 commit 00d742f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Wpf.Ui/Styles/Controls/CardAction.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--
<!--
This Source Code Form is subject to the terms of the MIT License.
If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
Copyright (C) Leszek Pomianowski and WPF UI Contributors.
Expand Down Expand Up @@ -82,8 +82,10 @@
Margin="{StaticResource CardActionIconMargin}"
VerticalAlignment="Center"
Filled="{TemplateBinding IconFilled}"
Focusable="False"
FontSize="{StaticResource CardActionIconSize}"
Foreground="{TemplateBinding IconForeground}"
KeyboardNavigation.IsTabStop="False"
Symbol="{TemplateBinding Icon}" />
<ContentPresenter
x:Name="ContentPresenter"
Expand Down
4 changes: 3 additions & 1 deletion src/Wpf.Ui/Styles/Controls/CardControl.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--
<!--
This Source Code Form is subject to the terms of the MIT License.
If a copy of the MIT was not distributed with this file, You can obtain one at https://opensource.org/licenses/MIT.
Copyright (C) Leszek Pomianowski and WPF UI Contributors.
Expand Down Expand Up @@ -81,8 +81,10 @@
Margin="{StaticResource CardControlIconMargin}"
VerticalAlignment="Center"
Filled="{TemplateBinding IconFilled}"
Focusable="False"
FontSize="{StaticResource CardControlIconSize}"
Foreground="{TemplateBinding IconForeground}"
KeyboardNavigation.IsTabStop="False"
Symbol="{TemplateBinding Icon}" />
<ContentPresenter
x:Name="HeaderContentPresenter"
Expand Down
1 change: 1 addition & 0 deletions src/Wpf.Ui/Styles/Controls/CardExpander.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
Focusable="False"
FontSize="{StaticResource CardExpanderIconSize}"
Foreground="{TemplateBinding Foreground}"
KeyboardNavigation.IsTabStop="False"
Symbol="{TemplateBinding Icon}" />

<ContentPresenter
Expand Down

0 comments on commit 00d742f

Please sign in to comment.