add icon button

This commit is contained in:
2026-11-01 18:12:51 +07:00
parent acf907461b
commit 125fa3e62d
5 changed files with 40 additions and 26 deletions
+7
View File
@@ -323,6 +323,13 @@ impl Render for Gallery {
.label("Open")
.icon(IconRole::Folder)
.tooltip(Tooltip::text("Opens the selected file")),
)
.child(
Button::new("gallery-button-icon-only")
.icon(IconRole::Folder)
.variant(ButtonVariant::Ghost)
.accessibility_label("Open the selected file")
.tooltip(Tooltip::text("Opens the selected file")),
),
)
.child(