mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Adjust non-media icon sizes
This commit is contained in:
parent
d52496b9f4
commit
fd395c13b0
2 changed files with 3 additions and 3 deletions
|
|
@ -426,7 +426,7 @@
|
|||
Visibility="{Binding ShowIcon}">
|
||||
<Image.Style>
|
||||
<Style TargetType="{x:Type Image}">
|
||||
<Setter Property="MaxWidth" Value="128" />
|
||||
<Setter Property="MaxWidth" Value="96" />
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding UseBigThumbnail}" Value="True">
|
||||
<Setter Property="MaxWidth" Value="{Binding ElementName=Preview, Path=ActualWidth}" />
|
||||
|
|
|
|||
|
|
@ -98,8 +98,8 @@ namespace Flow.Launcher.Plugin.Program.Programs
|
|||
var logoUri = visualElement?.Attributes[logoName]?.Value;
|
||||
app.LogoPath = app.LogoPathFromUri(logoUri, (64, 64));
|
||||
string previewUriTemp = visualElement?.Attributes[logoName]?.Value;
|
||||
string previewUri = previewUriTemp?.Replace(".png", ".targetsize-256.png");
|
||||
app.PreviewImagePath = app.LogoPathFromUri(previewUri, (128, 128));
|
||||
string previewUri = previewUriTemp?.Replace(".png", ".targetsize-96.png");
|
||||
app.PreviewImagePath = app.LogoPathFromUri(previewUri, (96, 96));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue