Skip to content

Commit

Permalink
Toolbar actions forgot they were low priority buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed May 22, 2024
1 parent 895b96d commit 2d695e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions widget/toolbar.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ type ToolbarAction struct {

// ToolbarObject gets a button to render this ToolbarAction
func (t *ToolbarAction) ToolbarObject() fyne.CanvasObject {
t.button.Importance = LowImportance

// synchronize properties
t.button.Icon = t.Icon
t.button.OnTapped = t.OnActivated
Expand Down

0 comments on commit 2d695e1

Please sign in to comment.