Skip to content

Commit 21babd1

Browse files
committed
Fix Plugin Trigger Icon Position
1 parent 2df24c2 commit 21babd1

File tree

1 file changed

+25
-22
lines changed

1 file changed

+25
-22
lines changed

Flow.Launcher/MainWindow.xaml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -260,28 +260,31 @@
260260
Text="{Binding DateText}"
261261
Visibility="{Binding Settings.UseDate, Converter={StaticResource BoolToVisibilityConverter}}" />
262262
</StackPanel>
263-
264-
<Canvas Style="{DynamicResource SearchIconPosition}">
265-
<Image
266-
x:Name="PluginActivationIcon"
267-
Width="32"
268-
Height="32"
269-
Margin="0,0,0,0"
270-
HorizontalAlignment="Center"
271-
VerticalAlignment="Center"
272-
Panel.ZIndex="2"
273-
RenderOptions.BitmapScalingMode="HighQuality"
274-
Source="{Binding PluginIconPath}"
275-
Stretch="Uniform"
276-
Style="{DynamicResource PluginActivationIcon}" />
277-
<Path
278-
Name="SearchIcon"
279-
Margin="0"
280-
Data="{DynamicResource SearchIconImg}"
281-
Stretch="Fill"
282-
Style="{DynamicResource SearchIconStyle}"
283-
Visibility="{Binding SearchIconVisibility}" />
284-
</Canvas>
263+
<Border>
264+
<Grid>
265+
<Image
266+
x:Name="PluginActivationIcon"
267+
Width="32"
268+
Height="32"
269+
Margin="0,0,18,0"
270+
HorizontalAlignment="Right"
271+
VerticalAlignment="Center"
272+
Panel.ZIndex="2"
273+
RenderOptions.BitmapScalingMode="HighQuality"
274+
Source="{Binding PluginIconPath}"
275+
Stretch="Uniform"
276+
Style="{DynamicResource PluginActivationIcon}" />
277+
<Canvas Style="{DynamicResource SearchIconPosition}">
278+
<Path
279+
Name="SearchIcon"
280+
Margin="0"
281+
Data="{DynamicResource SearchIconImg}"
282+
Stretch="Fill"
283+
Style="{DynamicResource SearchIconStyle}"
284+
Visibility="{Binding SearchIconVisibility}" />
285+
</Canvas>
286+
</Grid>
287+
</Border>
285288
</Grid>
286289

287290
<Grid ClipToBounds="True">

0 commit comments

Comments
 (0)