Hi Tim, so to move those buttons over you'll need to go into the \ui sub-folder (located at a spot inside the install folder like C:\Program Files (x86)\MoI 3.0\ui) and use a text editor like Notepad to edit a couple of files. When you run Notepad you should probably right-click it and choose "Run as Administrator" when you launch Notepad so that it will have permission to modify files in there.
The first step will be to open the file CommandBar.htm in Notepad, near the end of the file those 3 buttons are defined as this:
code:
<moi:CommandButton icon="res://optionsicon" onclick="if ( event.ctrlKey && event.shiftKey ) { LlamaMode(); } else { moi.ui.createDialog( 'Options.htm', 'resizeable,defaultWidth:43em,defaultHeight:32em' ); }"><moi:Text textid="Options"/></moi:CommandButton>
<moi:CommandSplitButton icon="res://helpicon" menu="HelpMenu.htm" onclick="moi.launchHelp();"><moi:Text textid="Help"/></moi:CommandSplitButton>
<moi:WindowControlButton
style="vertical-align:bottom;"
icon="Expand.png"
binding="style.display < return (moiWindow.IsMaximized && moiWindow.canChangeMaximizedSize()) ? 'inline' : 'none';
;; firstChild.firstChild.src < return moi.ui.maximizeToFullScreen ? 'Contract.png' : 'Expand.png';"
onclick="moi.ui.maximizeToFullScreen = !moi.ui.maximizeToFullScreen;">
</moi:WindowControlButton>
Select all that text and use Ctrl+X/Cut to remove it from there.
Next open the file SidePaneFilename.htm and at the end of that file paste that text in and that should do it.
It's probably a good idea to make backup copies of CommandBar.htm and SidePaneFilename.htm before modifying them so it is easy for you to restore it back to the default if needed for some reason.
Another thing you can try is to edit the file MainWindowLayout.xml and change the bottom command bar to be at the top of the window instead. To do that find the line that has:
code:
<UIPanel dock="bottom" src="moi://ui/CommandBar.htm"/>
and change it to have dock="top" instead.
I hope that helps! - Michael
|