mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[HostsFileEditor]Update plus icon (#21833)
This commit is contained in:
@@ -41,7 +41,9 @@
|
|||||||
Height="36"
|
Height="36"
|
||||||
Margin="16,0,0,0"
|
Margin="16,0,0,0"
|
||||||
Command="{x:Bind NewDialogCommand}">
|
Command="{x:Bind NewDialogCommand}">
|
||||||
<StackPanel Orientation="Horizontal" Spacing="12">
|
<StackPanel
|
||||||
|
Orientation="Horizontal"
|
||||||
|
Spacing="12">
|
||||||
<TextBlock
|
<TextBlock
|
||||||
x:Name="Icon"
|
x:Name="Icon"
|
||||||
Margin="0,0,0,0"
|
Margin="0,0,0,0"
|
||||||
@@ -49,7 +51,7 @@
|
|||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||||
FontSize="16"
|
FontSize="16"
|
||||||
Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}"
|
Foreground="{ThemeResource AccentTextFillColorPrimaryBrush}"
|
||||||
Text="" />
|
Text="" />
|
||||||
<TextBlock x:Uid="AddEntry" />
|
<TextBlock x:Uid="AddEntry" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</Button>
|
</Button>
|
||||||
@@ -124,7 +126,7 @@
|
|||||||
</Flyout>
|
</Flyout>
|
||||||
</Button.Flyout>
|
</Button.Flyout>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
x:Uid="OpenHostsFileBtn"
|
x:Uid="OpenHostsFileBtn"
|
||||||
Height="36"
|
Height="36"
|
||||||
@@ -135,7 +137,7 @@
|
|||||||
FontSize="14"
|
FontSize="14"
|
||||||
Glyph="" />
|
Glyph="" />
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
x:Uid="SettingsBtn"
|
x:Uid="SettingsBtn"
|
||||||
Height="36"
|
Height="36"
|
||||||
@@ -165,7 +167,9 @@
|
|||||||
IsOpen="{x:Bind ViewModel.FileChanged, Mode=TwoWay}"
|
IsOpen="{x:Bind ViewModel.FileChanged, Mode=TwoWay}"
|
||||||
Severity="Informational">
|
Severity="Informational">
|
||||||
<InfoBar.ActionButton>
|
<InfoBar.ActionButton>
|
||||||
<Button x:Uid="Reload" Command="{x:Bind ViewModel.ReadHostsCommand}" />
|
<Button
|
||||||
|
x:Uid="Reload"
|
||||||
|
Command="{x:Bind ViewModel.ReadHostsCommand}" />
|
||||||
</InfoBar.ActionButton>
|
</InfoBar.ActionButton>
|
||||||
</InfoBar>
|
</InfoBar>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
@@ -177,8 +181,8 @@
|
|||||||
CanReorderItems="{x:Bind ViewModel.Filtered, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"
|
CanReorderItems="{x:Bind ViewModel.Filtered, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}"
|
||||||
-->
|
-->
|
||||||
<ListView
|
<ListView
|
||||||
x:Uid="Entries"
|
|
||||||
x:Name="Entries"
|
x:Name="Entries"
|
||||||
|
x:Uid="Entries"
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="16,8,16,16"
|
Margin="16,8,16,16"
|
||||||
Background="{ThemeResource LayerFillColorDefaultBrush}"
|
Background="{ThemeResource LayerFillColorDefaultBrush}"
|
||||||
@@ -253,8 +257,8 @@
|
|||||||
x:Name="PingIcon"
|
x:Name="PingIcon"
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
Margin="0,0,8,0"
|
Margin="0,0,8,0"
|
||||||
FontSize="18"
|
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
FontFamily="{ThemeResource SymbolThemeFontFamily}"
|
||||||
|
FontSize="18"
|
||||||
Visibility="Collapsed">
|
Visibility="Collapsed">
|
||||||
<i:Interaction.Behaviors>
|
<i:Interaction.Behaviors>
|
||||||
<ic:DataTriggerBehavior
|
<ic:DataTriggerBehavior
|
||||||
@@ -324,7 +328,9 @@
|
|||||||
<ContentDialog.DataContext>
|
<ContentDialog.DataContext>
|
||||||
<models:Entry />
|
<models:Entry />
|
||||||
</ContentDialog.DataContext>
|
</ContentDialog.DataContext>
|
||||||
<ScrollViewer HorizontalScrollMode="Auto" HorizontalScrollBarVisibility="Auto">
|
<ScrollViewer
|
||||||
|
HorizontalScrollBarVisibility="Auto"
|
||||||
|
HorizontalScrollMode="Auto">
|
||||||
<StackPanel
|
<StackPanel
|
||||||
MinWidth="480"
|
MinWidth="480"
|
||||||
Margin="0,12,0,0"
|
Margin="0,12,0,0"
|
||||||
@@ -372,10 +378,10 @@
|
|||||||
Margin="0,12,0,0"
|
Margin="0,12,0,0"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
AcceptsReturn="True"
|
AcceptsReturn="True"
|
||||||
TextWrapping="Wrap"
|
ScrollViewer.IsVerticalRailEnabled="True"
|
||||||
ScrollViewer.VerticalScrollBarVisibility="Visible"
|
ScrollViewer.VerticalScrollBarVisibility="Visible"
|
||||||
ScrollViewer.VerticalScrollMode="Enabled"
|
ScrollViewer.VerticalScrollMode="Enabled"
|
||||||
ScrollViewer.IsVerticalRailEnabled="True" />
|
TextWrapping="Wrap" />
|
||||||
|
|
||||||
</ContentDialog>
|
</ContentDialog>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|||||||
Reference in New Issue
Block a user