CustomUI

 From:  ttype (STRUBE)
6507.218 In reply to 6507.182 
Can you perhaps add autocomplete for commands to the command bar? I have had a look at jquery and the functionality for autocomplete is completely implemented in there.

In fact, just a few lines are needed in order to set up autocomplete itself:
code:
<script type="text/javascript" src="jquery/jquery-2.1.3.js"></script>
<script type="text/javascript" src="jquery/jquery-ui-1.11.3/jquery-ui.js"></script>

And then it even searches "inside" words. Like for "ar" it suggests "PlanARSrf". Which is absolutely fantastic.



Unfortunately I failed putting it all together, because it is simply not possible to just add an input field to the commandbar.htm, because the menu popping up tries to resize the commandbar's part of the whole screen. (And, well, it feels like it would take weeks for me to figure out how the whole UI thing works. Especially since documentation is rather rare in MoI land.)
Attachments: