-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text for Accept button should be "OK" for HtmlUI::inputbox
wrapper
#12
Comments
PR accepted if it includes an option to also set the label for the Cancel button. |
Huh? This is not about setter option(s). It is about overriding the normal default label (which is set in The consumer(s) can already pass options that override any default labels using the |
Are you implying that reliance upon the normal default in I could also add that I think the native |
Oh, I see now. The other issues had so much activity that I had a hard time keeping up. Ok, so this is about the |
Yes you are correct. It is an appearance issue. Some people do not like change. But if you think it's going "against the grain" of this repo, then we'll just make people use the advanced hash paradigm if they want to use an "OK" button. I really think you should put your "philosophy aims" of the example in an introductory paragraph of the README. |
Speaking of (Comments moved to new issue: 15 : Compatibility shim does not allow 2 args or an empty window caption.) |
I'll do that. It wasn't done originally because I hadn't expected the example to turn out to take on a life of its own. |
Ok then given the philosophical discussion on Trimble UX goals (above and in the closed "buttons" thread,) we shall close this issue, and you may remove the help wanted label and mark it works as intended. @matthes-b You'll have to add the hash argument as shown in the initial post for your own edition if you really want it to be more like the native There is no point in trying to "kick against" Trimble corporate UX goals. Thomas and the others on the SketchUp team are required to promote these goals. |
We are willingly and gladly promoting a unified updated UI/UX. |
The Accept button name does not match
UI::messagebox
button name "OK".The
ArgumentParser#get_options_args()
method is used (usually) when mimickingUI::inputbox
, so it affords an opportunity to override the default as set inHtmlUI::Inpubox#initialize
.The definition of the local
options
hash object inArgumentParser#get_options_args()
, at about line 84:The text was updated successfully, but these errors were encountered: