Skip to content

Commit 622ad2a

Browse files
committed
Replace search label with icon
One less thing for people to translate
1 parent 3925763 commit 622ad2a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Loki/Loki.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<None Remove="Resources\clock-16.ico" />
2222
<None Remove="Resources\hammer.png" />
2323
<None Remove="Resources\loki.ico" />
24+
<None Remove="Resources\magnifier.png" />
2425
<None Remove="Resources\skull.png" />
2526
<None Remove="Resources\tag-32.png" />
2627
<None Remove="Resources\target.png" />
@@ -46,6 +47,7 @@
4647
<Resource Include="Resources\clock-16.ico" />
4748
<Resource Include="Resources\hammer.png" />
4849
<Resource Include="Resources\loki.ico" />
50+
<Resource Include="Resources\magnifier.png" />
4951
<Resource Include="Resources\skull.png" />
5052
<Resource Include="Resources\tag-32.png" />
5153
<Resource Include="Resources\target.png" />

Loki/MainWindow.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@
215215
<!-- Item Filter -->
216216
<Grid Grid.Row="0" Margin="0,4,4,0">
217217
<Grid.ColumnDefinitions>
218-
<ColumnDefinition Width="Auto"></ColumnDefinition>
218+
<ColumnDefinition Width="24" />
219219
<ColumnDefinition/>
220220
</Grid.ColumnDefinitions>
221-
<Label Grid.Column="0" FontSize="10">Search:</Label>
221+
<Image Grid.Column="0" Source="Resources/magnifier.png" Stretch="Uniform" Height="16" Width="16"/>
222222
<TextBox Grid.Column="1" BorderBrush="DarkGray" BorderThickness="1" Padding="2,0,2,0"
223223
x:Name="ItemSearch" VerticalContentAlignment="Center" TextChanged="itemSearch_TextChanged" />
224224

Loki/Resources/magnifier.png

438 Bytes
Loading

0 commit comments

Comments
 (0)