mirror of
https://git.srhtnin.garden/sarah/SaraFem.git
synced 2026-10-14 18:18:12 +02:00
Show icon previews in icon pickers
This commit is contained in:
1 parent
c542134f62
commit
efe6a3f948
3 files changed
+19
-4
No files matched your search
+5
-1
@@ -296,7 +296,11 @@ class Sidebar(ft.Container):
|
||||
value=Bookmark.Icon,
|
||||
label="Icon",
|
||||
options=[
|
||||
ft.DropdownOption(key=Name, text=IconLabelOverrides.get(Name, Name.split("_")[0].title()))
|
||||
ft.DropdownOption(
|
||||
key=Name,
|
||||
text=IconLabelOverrides.get(Name, Name.split("_")[0].title()),
|
||||
leading_icon=getattr(ft.Icons, Name),
|
||||
)
|
||||
for Name in IconChoices
|
||||
],
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user