|
38 | 38 | BorderBrush="{TemplateBinding BorderBrush}"
|
39 | 39 | BorderThickness="{TemplateBinding BorderThickness}"
|
40 | 40 | CornerRadius="{TemplateBinding CornerRadius}">
|
41 |
| - <Viewbox Width="20" |
42 |
| - Height="20"> |
| 41 | + <Viewbox Width="14" |
| 42 | + Height="14"> |
43 | 43 | <Grid>
|
44 | 44 | <FontIcon x:Name="ButtonBackgroundIcon"
|
45 |
| - FontFamily="Segoe UI, Segoe Fluent Icons, Segoe MDL2 Assets" |
| 45 | + FontFamily="{ThemeResource SymbolThemeFontFamily}" |
46 | 46 | Foreground="{ThemeResource PlayButtonHoveredColor}"
|
47 | 47 | Glyph=""
|
48 | 48 | Visibility="Collapsed" />
|
49 | 49 | <FontIcon x:Name="ButtonOutlineIcon"
|
50 |
| - FontFamily="Segoe UI, Segoe Fluent Icons, Segoe MDL2 Assets" |
| 50 | + FontFamily="{ThemeResource SymbolThemeFontFamily}" |
51 | 51 | Foreground="{ThemeResource PlayButtonNormalColor}"
|
52 | 52 | Glyph="" />
|
53 | 53 | </Grid>
|
54 |
| - <!-- TODO! FontFamily="{ThemeResource SymbolThemeFontFamily}" --> |
55 | 54 | </Viewbox>
|
56 | 55 |
|
57 | 56 | <VisualStateManager.VisualStateGroups>
|
|
80 | 79 | <Setter Target="StatusProgress.IsActive" Value="False" />
|
81 | 80 | </VisualState.Setters>
|
82 | 81 | </VisualState>
|
83 |
| - <!-- |
84 |
| - <VisualState x:Name="Running"> |
85 |
| - <VisualState.Setters> |
86 |
| - <Setter Target="ButtonBackgroundIcon.Glyph" Value=" " /> |
87 |
| - <Setter Target="ButtonOutlineIcon.Glyph" Value=" " /> |
88 |
| - <Setter Target="StatusProgress.IsActive" Value="True" /> |
89 |
| - </VisualState.Setters> |
90 |
| - </VisualState> |
91 |
| -
|
92 |
| - <VisualState x:Name="AlreadyRan"> |
93 |
| - <VisualState.Setters> |
94 |
| - <Setter Target="ButtonBackgroundIcon.Glyph" Value="" /> |
95 |
| - <Setter Target="ButtonOutlineIcon.Glyph" Value="" /> |
96 |
| - <Setter Target="StatusProgress.IsActive" Value="False" /> |
97 |
| - </VisualState.Setters> |
98 |
| - </VisualState>--> |
99 | 82 | </VisualStateGroup>
|
100 | 83 |
|
101 | 84 | </VisualStateManager.VisualStateGroups>
|
|
142 | 125 | Visibility="{x:Bind mtu:Converters.InvertedBooleanToVisibility(HasChildren), Mode=OneWay}">
|
143 | 126 |
|
144 | 127 | <Button.Content>
|
145 |
| - <FontIcon FontFamily="Segoe Fluent Icons, Segoe MDL2 Assets" |
| 128 | + <FontIcon FontFamily="{ThemeResource SymbolThemeFontFamily}" |
146 | 129 | FontSize="12"
|
147 | 130 | Glyph="" />
|
148 | 131 | <!--
|
|
0 commit comments