Skip to content

Commit 67dfe9d

Browse files
committed
Installed/New label Image to Text
1 parent 3dd8017 commit 67dfe9d

File tree

3 files changed

+26
-16
lines changed

3 files changed

+26
-16
lines changed

Flow.Launcher/Images/installed.png

-1.9 KB
Binary file not shown.

Flow.Launcher/Images/new.png

-2.62 KB
Binary file not shown.

Flow.Launcher/SettingWindow.xaml

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1334,13 +1334,13 @@
13341334
DockPanel.Dock="Right"
13351335
FontSize="13" />
13361336
<TextBox
1337+
Name="pluginStoreFilterTxb"
13371338
Width="250"
13381339
Height="34"
13391340
Margin="0,0,6,0"
13401341
HorizontalAlignment="Right"
13411342
DockPanel.Dock="Right"
13421343
FontSize="14"
1343-
Name="pluginStoreFilterTxb"
13441344
KeyDown="PluginFilterTxb_OnKeyDown"
13451345
LostFocus="RefreshPluginStoreEventHandler"
13461346
Text=""
@@ -1446,27 +1446,37 @@
14461446
Grid.RowSpan="2"
14471447
Grid.Column="0"
14481448
Grid.ColumnSpan="2"
1449+
Margin="0,0,2,0"
14491450
HorizontalAlignment="Right"
14501451
Orientation="Horizontal">
1451-
<Image
1452-
Width="32"
1453-
Height="32"
1454-
Margin="0,0,8,0"
1452+
<Border
1453+
x:Name="LabelNew"
1454+
Margin="0,10,8,0"
1455+
Padding="6,2,6,2"
14551456
HorizontalAlignment="Right"
14561457
VerticalAlignment="Top"
1457-
RenderOptions.BitmapScalingMode="HighQuality"
1458-
Source="/Images/new.png"
1459-
Stretch="Uniform" />
1460-
<Image
1461-
Width="28"
1462-
Height="28"
1463-
Margin="0,-2,8,0"
1458+
Background="#f14551"
1459+
CornerRadius="4"
1460+
Visibility="Collapsed">
1461+
<TextBlock
1462+
FontSize="11"
1463+
Foreground="White"
1464+
Text="New" />
1465+
</Border>
1466+
<Border
1467+
x:Name="Labelinstalled"
1468+
Margin="0,10,8,0"
1469+
Padding="6,2,6,2"
14641470
HorizontalAlignment="Right"
14651471
VerticalAlignment="Top"
1466-
RenderOptions.BitmapScalingMode="HighQuality"
1467-
Source="/Images/installed.png"
1468-
Stretch="Uniform"
1469-
Visibility="Visible" />
1472+
Background="{DynamicResource ToggleSwitchFillOn}"
1473+
CornerRadius="4"
1474+
Visibility="Collapsed">
1475+
<TextBlock
1476+
FontSize="11"
1477+
Foreground="White"
1478+
Text="Installed" />
1479+
</Border>
14701480
</StackPanel>
14711481

14721482
<StackPanel

0 commit comments

Comments
 (0)