[Settings]Icon updates for new utilities (#20193)
* PowerOCR icon updates * Icon updates * Update Selector.xaml
BIN
doc/images/icons/MeasureTool.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
doc/images/icons/PowerAccent.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
doc/images/icons/PowerOCR.png
Normal file
After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 123 KiB |
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 27 KiB |
@ -1,14 +1,27 @@
|
|||||||
<Window x:Class="PowerAccent.UI.Selector"
|
<Window
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
x:Class="PowerAccent.UI.Selector"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
xmlns:local="clr-namespace:PowerAccent"
|
xmlns:local="clr-namespace:PowerAccent"
|
||||||
mc:Ignorable="d" SizeToContent="WidthAndHeight" ShowInTaskbar="False" ResizeMode="NoResize"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
Title="MainWindow" Height="50" Width="50" Visibility="Collapsed" WindowStyle="None">
|
Title="MainWindow"
|
||||||
|
Width="50"
|
||||||
|
Height="50"
|
||||||
|
ResizeMode="NoResize"
|
||||||
|
ShowInTaskbar="False"
|
||||||
|
SizeToContent="WidthAndHeight"
|
||||||
|
Visibility="Collapsed"
|
||||||
|
WindowStyle="None"
|
||||||
|
mc:Ignorable="d">
|
||||||
<Grid>
|
<Grid>
|
||||||
<ListBox x:Name="characters" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsHitTestVisible="False"
|
<ListBox
|
||||||
BorderThickness="1" BorderBrush="SlateGray">
|
x:Name="characters"
|
||||||
|
HorizontalContentAlignment="Stretch"
|
||||||
|
VerticalContentAlignment="Stretch"
|
||||||
|
BorderBrush="SlateGray"
|
||||||
|
BorderThickness="1"
|
||||||
|
IsHitTestVisible="False">
|
||||||
<ListBox.ItemsPanel>
|
<ListBox.ItemsPanel>
|
||||||
<ItemsPanelTemplate>
|
<ItemsPanelTemplate>
|
||||||
<VirtualizingStackPanel IsItemsHost="False" Orientation="Horizontal" />
|
<VirtualizingStackPanel IsItemsHost="False" Orientation="Horizontal" />
|
||||||
@ -16,7 +29,11 @@
|
|||||||
</ListBox.ItemsPanel>
|
</ListBox.ItemsPanel>
|
||||||
<ListBox.ItemTemplate>
|
<ListBox.ItemTemplate>
|
||||||
<DataTemplate>
|
<DataTemplate>
|
||||||
<TextBlock TextAlignment="Center" VerticalAlignment="Center" Text="{Binding}" FontSize="18" />
|
<TextBlock
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
FontSize="18"
|
||||||
|
Text="{Binding}"
|
||||||
|
TextAlignment="Center" />
|
||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
</ListBox.ItemTemplate>
|
</ListBox.ItemTemplate>
|
||||||
<ListBox.ItemContainerStyle>
|
<ListBox.ItemContainerStyle>
|
||||||
@ -24,25 +41,27 @@
|
|||||||
<Setter Property="Template">
|
<Setter Property="Template">
|
||||||
<Setter.Value>
|
<Setter.Value>
|
||||||
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
<ControlTemplate TargetType="{x:Type ListBoxItem}">
|
||||||
<Border x:Name="myBorder"
|
<Border
|
||||||
Padding="0" Margin="0"
|
x:Name="myBorder"
|
||||||
|
Margin="0"
|
||||||
|
Padding="0"
|
||||||
SnapsToDevicePixels="true"
|
SnapsToDevicePixels="true"
|
||||||
Style="{DynamicResource borderContent}">
|
Style="{DynamicResource borderContent}">
|
||||||
<ContentPresenter />
|
<ContentPresenter />
|
||||||
</Border>
|
</Border>
|
||||||
<ControlTemplate.Resources>
|
<ControlTemplate.Resources>
|
||||||
<Style x:Key="borderContent" TargetType="Border">
|
<Style x:Key="borderContent" TargetType="Border">
|
||||||
<Setter Property="BorderThickness" Value="0"/>
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
<Setter Property="BorderBrush" Value="Transparent"/>
|
<Setter Property="BorderBrush" Value="Transparent" />
|
||||||
<Setter Property="Background" Value="#ECECEC"/>
|
<Setter Property="Background" Value="#ECECEC" />
|
||||||
<Setter Property="Width" Value="50"/>
|
<Setter Property="Width" Value="50" />
|
||||||
<Setter Property="Height" Value="50"/>
|
<Setter Property="Height" Value="50" />
|
||||||
</Style>
|
</Style>
|
||||||
</ControlTemplate.Resources>
|
</ControlTemplate.Resources>
|
||||||
<ControlTemplate.Triggers>
|
<ControlTemplate.Triggers>
|
||||||
<Trigger Property="IsSelected" Value="true">
|
<Trigger Property="IsSelected" Value="true">
|
||||||
<Setter TargetName="myBorder" Property="Background" Value="White"/>
|
<Setter TargetName="myBorder" Property="Background" Value="White" />
|
||||||
<Setter Property="FontWeight" Value="Bold"/>
|
<Setter Property="FontWeight" Value="Bold" />
|
||||||
</Trigger>
|
</Trigger>
|
||||||
</ControlTemplate.Triggers>
|
</ControlTemplate.Triggers>
|
||||||
</ControlTemplate>
|
</ControlTemplate>
|
||||||
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 105 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |