Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Modal improvement #1

Closed
wants to merge 3 commits into from
Closed

Conversation

lnxbil
Copy link

@lnxbil lnxbil commented Nov 26, 2018

Adding arrow keys for navigation and two new attributes for enabling a frame with title around the box.

adding new function previous button to switch via arrow keys (round
robin) through the possible buttons.
By setting the new 'Frame' and 'Title' attributes, you can see the frame
with the title text around the dialog.
@@ -123,7 +128,8 @@ func (m *Modal) Draw() {
panic(err)
}

v.Frame = false
v.Frame = m.Frame
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please be sure to set the optional parameters in this way.

func (m * Modal) SetText (text string) * Modal {}

@skanehira
Copy link
Owner

@lnxbil
Thank you pull request.
There is one comment so if you fix it, I will merge.

@skanehira
Copy link
Owner

Close cause no response.

@skanehira skanehira closed this Jun 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants