MOI Amazing
All  1-4  5-10

Previous
Next
 From:  Michael Gibson
9743.5 In reply to 9743.4 
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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Tim (TGILMORE)
9743.6 In reply to 9743.5 
Michael,

Thanks so much,

The first solution only seemed to get rid of the fullscreen toggle.

The second solution works fine for me that's what I do with the Windows taskbar as well, but even after replacing the command bar htm I am still missing the full screen toggle?

I plan on purchasing the program just after the first so I'll try then and go from there.

Tim
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9743.7 In reply to 9743.6 
Hi Tim, if you can post your modified CommandBar.htm and SidePaneFilename.htm files here as a file attachment I can check them out to see if they are set up ok.

> but even after replacing the command bar htm I am still missing the full screen toggle?

The full screen toggle is only shown if the window is maximized and on a screen that has a Windows taskbar on it. If your window is not maximized or not on a monitor with a task bar then it is normal that it will not show up.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Tim (TGILMORE)
9743.8 In reply to 9743.7 
I appreciate it but I am going to go ahead and buy the program this week and work with moving the entire main bar to the top and doing so I won't have to be concerned about adding some more buttons that I might want from the custom ui setup. If there are any issues then I'll be sure to post them here.

It really is a great product and a great value so I'm on board.

Tim
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Tim (TGILMORE)
9743.9 
Hi Michael,

Really loving this program.

I just discovered that you could click on the style and the dimensions under the Naming input but the pop up keypad doesn't seem to work there.

I'm working with pen tablets otherwise not an issue at all.

Thanks for any help




Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
9743.10 In reply to 9743.9 
Hi Tim, yes the popup is intentionally disabled on those controls. I guess at the time I thought it looked a little strange on that small popup and I decided to focus that particular area on keyboard input.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-4  5-10