4

In our application there is a form to specify command line arguments to run an EXE with. We also want to provide some keywords that the user can use, now we put them in a listview. Currently, it looked like this: http://i.imgur.com/tGhTc.png

When the user double click on an item in the listview, it will be added to the current caret position in the textbox. The text can really span a few lines, that's why the text box is quite big.

Is there a better way to have this functionality? The problem with current design:

  • It looks weird because the listbox is not as wide as the textbox
  • It takes a lot of vertical space (listbox + textbox)
  • The two controls are quite separated vertically, due to the height of the textbox.

How can this be improved?

9

The best way is to use autocompletion. Autocompletion is good because user will be able to insert parameter value instantly (i.e. without leaving text area and switching to other controls, etc):

autocompletion

Other possible option I see is to use Insert macro button with variants:

combo

And if there are just a few of items, you may try to place separate button for every macro above or underneath the text area. It may also be used in parallel with the autocompletion:

buttons

  • do you know any example or screenshot of the last approach (list of buttons)? – Louis Rhys Dec 7 '12 at 2:03
  • @LouisRhys I've updated my answer with the sample wireframe. It's like a toolbar for the text editor. – alexeypegov Dec 7 '12 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.