Clarify how to modify Modal title and appearance

Resolves #24.
This commit is contained in:
Trevor Slocum 2020-06-18 15:17:42 -07:00
parent f477be8ba4
commit 2a76c36094
1 changed files with 4 additions and 2 deletions

View File

@ -8,8 +8,10 @@ import (
// Modal is a centered message window used to inform the user or prompt them
// for an immediate decision. It needs to have at least one button (added via
// AddButtons) or it will never disappear. You may include additional elements
// within the window by modifying the Form returned by GetForm.
// AddButtons) or it will never disappear. You may change the title and
// appearance of the window by modifying the Frame returned by GetFrame. You
// may include additional elements within the window by modifying the Form
// returned by GetForm.
type Modal struct {
*Box