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

Update Gallery glyphs to current standard #1106

Merged
merged 1 commit into from
Oct 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions WinUIGallery/ControlPages/SwipeControlPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<local:ControlExample.Example>
<Border>
<Border.Resources>
<FontIconSource x:Key="AcceptIcon" Glyph="&#xE10B;"/>
<FontIconSource x:Key="FlagIcon" Glyph="&#xE129;"/>
<FontIconSource x:Key="AcceptIcon" Glyph="&#xE8FB;"/>
<FontIconSource x:Key="FlagIcon" Glyph="&#xE7C1;"/>

<SwipeItems x:Key="left" Mode="Reveal">
<SwipeItem Background="{ThemeResource ButtonBackgroundThemeBrush}" Foreground="{ThemeResource AppBarItemForegroundThemeBrush}" Text="Accept" IconSource="{StaticResource AcceptIcon}"
Expand All @@ -45,8 +45,8 @@
<x:String xml:space="preserve">
&lt;Border&gt;
&lt;Border.Resources&gt;
&lt;FontIconSource x:Key="AcceptIcon" Glyph="&amp;#xE10B;"/&gt;
&lt;FontIconSource x:Key="FlagIcon" Glyph="&amp;#xE129;"/&gt;
&lt;FontIconSource x:Key="AcceptIcon" Glyph="&amp;#xE8FB;"/&gt;
&lt;FontIconSource x:Key="FlagIcon" Glyph="&amp;#xE7C1;"/&gt;

&lt;SwipeItems x:Key="left" Mode="Reveal"&gt;
&lt;SwipeItem Text="Accept" IconSource="{StaticResource AcceptIcon}" Invoked="Accept_ItemInvoked"/&gt;
Expand Down Expand Up @@ -83,7 +83,7 @@
<x:String xml:space="preserve">
&lt;Border&gt;
&lt;Border.Resources&gt;
&lt;FontIconSource x:Key="DeleteIcon" Glyph="&amp;#xE107;"/&gt;
&lt;FontIconSource x:Key="DeleteIcon" Glyph="&amp;#xE74D;"/&gt;
&lt;SwipeItems x:Key="right" Mode="Execute"&gt;
&lt;SwipeItem Text="Archive" IconSource="{StaticResource ArchiveIcon}"
BehaviorOnInvoked="Close" Invoked="DeleteOne_ItemInvoked"/&gt;
Expand All @@ -106,7 +106,7 @@
<ListView.Resources>
<FontIconSource x:Key="ReplyAllIcon" Glyph="&#xE8C2;"/>
<FontIconSource x:Key="ReadIcon" Glyph="&#xE8C3;"/>
<FontIconSource x:Key="DeleteIcon" Glyph="&#xE107;"/>
<FontIconSource x:Key="DeleteIcon" Glyph="&#xE74D;"/>

<SwipeItems x:Key="left" Mode="Reveal">
<SwipeItem Text="Reply All" IconSource="{StaticResource ReplyAllIcon}"
Expand Down Expand Up @@ -137,7 +137,7 @@
&lt;ListView.Resources&gt;
&lt;FontIconSource x:Key="ReplyAllIcon" Glyph="&amp;#xE8C2;"/&gt;
&lt;FontIconSource x:Key="ReadIcon" Glyph="&amp;#xE8C3;"/&gt;
&lt;FontIconSource x:Key="DeleteIcon" Glyph="&amp;#xE107;"/&gt;
&lt;FontIconSource x:Key="DeleteIcon" Glyph="&amp;#xE74D;"/&gt;

&lt;SwipeItems x:Key="left" Mode="Reveal"&gt;
&lt;SwipeItem Text="Reply All" IconSource="{StaticResource ReplyAllIcon}"
Expand Down Expand Up @@ -170,7 +170,7 @@
<local:ControlExample.Example>
<Border>
<Border.Resources>
<FontIconSource x:Key="LockIcon" Glyph="&#xE8D7;"/>
<FontIconSource x:Key="LockIcon" Glyph="&#xE72E;"/>
<LinearGradientBrush x:Key="PurpleGradient" StartPoint="0,0.5" EndPoint="1,0.5">
<GradientStop Color="#ff8990f9" Offset="0.0"/>
<GradientStop Color="#ff5b66fb" Offset="0.5"/>
Expand All @@ -190,7 +190,7 @@
<x:String xml:space="preserve">
&lt;Border&gt;
&lt;Border.Resources&gt;
&lt;FontIconSource x:Key="LockIcon" Glyph="&amp;#xE107;"/&gt;
&lt;FontIconSource x:Key="LockIcon" Glyph="&amp;#xE72E;"/&gt;
&lt;LinearGradientBrush x:Key="PurpleGradient" StartPoint="0,0.5" EndPoint="1,0.5"&gt;
&lt;GradientStop Color="#ff8990f9" Offset="0.0"/&gt;
&lt;GradientStop Color="#ff5b66fb" Offset="0.5"/&gt;
Expand All @@ -203,7 +203,7 @@
&lt;/Border.Resources&gt;
&lt;SwipeControl BorderThickness="1" BorderBrush="{ThemeResource ButtonBackground}"
RightItems="{StaticResource right}"
Width="300" Margin="12" Height="68"&gt;
Width="500" Margin="12" Height="68"&gt;
&lt;TextBlock Text="Swipe Left" Margin="12"
HorizontalAlignment="Center" VerticalAlignment="Center"/&gt;
&lt;/SwipeControl&gt;
Expand Down