add icon button
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user