Skip to content

Commit

Permalink
bugfix for dialog title display
Browse files Browse the repository at this point in the history
Signed-off-by: Navid Yaghoobi <navidys@fedoraproject.org>
  • Loading branch information
navidys committed Jun 21, 2024
1 parent c5e08f5 commit 09f153c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dialog.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ func (d *MessageDialog) SetType(dtype int) {
}
}

// SetTitle sets dialog title.
func (d *MessageDialog) SetTitle(title string) {
d.layout.SetTitle(title)
}

// SetBackgroundColor sets dialog background color.
func (d *MessageDialog) SetBackgroundColor(color tcell.Color) {
d.bgColor = color
Expand Down

0 comments on commit 09f153c

Please sign in to comment.