From ed668f371687b57c0eb7f1f38f1857447630d596 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Thu, 15 Jan 2026 23:41:11 -0800 Subject: [PATCH] Add glyph icon support for results - Add Glyph and GlyphAvailable properties to ResultViewModel - Set Glyph from plugin Result when creating result items - Add resultGlyph style matching icon size (32x32) - Update ResultListBox to show glyph or image icon based on ShowGlyph property - ShowGlyph = true when UseGlyphIcons is enabled AND glyph is available --- Flow.Launcher.Avalonia/Themes/Base.axaml | 11 ++++++++++ .../ViewModel/MainViewModel.cs | 6 ++++-- .../ViewModel/ResultViewModel.cs | 21 +++++++++++++++++++ .../Views/ResultListBox.axaml | 17 ++++++++++----- 4 files changed, 48 insertions(+), 7 deletions(-) diff --git a/Flow.Launcher.Avalonia/Themes/Base.axaml b/Flow.Launcher.Avalonia/Themes/Base.axaml index 5f1845f96..c73dbd221 100644 --- a/Flow.Launcher.Avalonia/Themes/Base.axaml +++ b/Flow.Launcher.Avalonia/Themes/Base.axaml @@ -148,6 +148,17 @@ + + +