MoI discussion forum
MoI discussion forum

Full Version: Alternative UI layout

Show messages:  1-11  12-27

From: immortalx
10 Apr 2018   [#12]
@Yuan

Browse to the ui folder and edit the SidePane, BottomBar and CommandBar files. Inside you'll find several "blocks" of lines all of which has a section like this:

title = "tool description"

"tool description" will be different for every tool or interface button of course. Just edit the part inside the quotes and you're set.
Remember to back up your files first!
From: Yuan
10 Apr 2018   [#13] In reply to [#12]
Hi immortalx,
I have changed it according to the method you teach.Thank you very much!
From: moritzbock (MORITZ)
10 Apr 2018   [#14] In reply to [#1]
Hi immortalx,
how can i get the missing Buttons for Obj Library, Ext Scripts and Snapshot?
Thank you
-moritz

Image Attachments:
Bildschirmfoto 2018-04-10 um 18.09.52.png 


From: immortalx
10 Apr 2018   [#15]
@MORITZ

You have to edit CommandBar.htm and add this line:

<script type="text/javascript" src="customui/CustomInit.js">

Scroll through the file and search for this block:

<vcenter>
<moi:StateButton
binding="value = moi.drawingAids.objectSnap"
menu="ObjectSnapMenu.htm">
<moi:Text textid="Object Snap">
</moi:StateButton>
</vcenter>

<moi:Spacer>

Add the above line immediately after <moi:Spacer>
From: Michael Gibson
10 Apr 2018   [#16] In reply to [#14]
Hi Moritz,

re:
> how can i get the missing Buttons for Obj Library, Ext Scripts and Snapshot?

Those are from Max's CustomUI extension, you can find it here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6507.1

- Michael
From: moritzbock (MORITZ)
11 Apr 2018   [#17] In reply to [#16]
Hello Michael, hello immortalx,
in my current CustomUI I already have these buttons and they work. The question was rather: "How do I get the buttons (included in the version of Max) into the UI of immortalx"?
My knowledge of HTML is not exactly record-breaking.
Many thanks to you both and also to Max for your wonderful development work.
-moritz
From: Michael Gibson
11 Apr 2018   [#18] In reply to [#17]
Hi moritz, well you'll need to do something like examine the differences between the standard UI and Max's custom ui, then apply the same modification to immortalx's UI.

Please note that all these custom UI setups are not a standard part of MoI and aren't something that I'm focused on supporting myself.

I can try to give you some hints to help you figure it out, maybe a first step would be if you could post more detailed information like which version of MoI you're trying to do this to and which version of Max's CustomUI you are using and what operating system you're running on.

- Michael
From: immortalx
11 Apr 2018   [#19]
I just want to emphasize and support what Michael has just mentioned.
It's extremely difficult for a developer to support non standard customization to his/her application. We should all be thankful in the first place, that we are actually able to do that, and everyone trying these custom modifications should be well aware that they can break the application's functionality.
With that said (and although I've no previous HTML knowledge, just general programming background) you are welcome to ask me anything for this custom ui and I'll do my best (if I can) to make it happen :)
From: moritzbock (MORITZ)
11 Apr 2018   [#20] In reply to [#18]
Hello Michael,
I am using Max' CustomUI.2.0.beta1 with MoI V4 and a MacPro 5.1 with OS X 10.10.5
- moritz
From: Michael Gibson
11 Apr 2018   [#21] In reply to [#20]
Hi moritz, so if I remember right Max's new CustomUI 2.0 for MoI v4 uses this element that is in the default MoI v4 CommandBar.htm as the target for where to place the added buttons:

code:
            <span id="CommandBarCustomUI">
            </span>



This element appears to be missing in this alternative UI. If you add it in that may solve it.

But also I would think you would see an error message pop up when the CustomUI startup script tried to do something to this element but it wasn't there, however you didn't mention any error message being displayed?

- Michael
From: Yuan
11 Apr 2018   [#22] In reply to [#19]
Hi immortalx,
In addition to the shortcut key editor, everything else is perfect. The shortcut key editor background color and scroll bar can be modified?

Image Attachments:
1.png 


From: Michael Gibson
11 Apr 2018   [#23] In reply to [#22]
Hi Yuan, sorry in MoI V3 the shortcut key editor is a non-HTML custom control and there isn't any way to modify its colors.

This is solved in V4 - in MoI v4 the custom control is removed and the shortcut key editor is HTML based and can have colors modified same as other UI.

- Michael
From: moritzbock (MORITZ)
11 Apr 2018   [#24] In reply to [#21]
Hello Michael,
thanks for pointing that out. The program runs so far, but I get this error message (error_message.png):

@immortalx:
Hello immortalx,
I miss the dimensions of selected objects. Is that correct?
(UI immortalx.png vs. default_UI.png)
- moritz

Image Attachments:
default_UI.png  error_message.png  UI immortalx.png 


From: Michael Gibson
11 Apr 2018   [#25] In reply to [#24]
Hi Moritz, that error message looks like it's from the startup script here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8064.8

The problem you're running into is the one I described later in the thread here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8064.12

You'll need to remove that file from your app data startup directory.

Please note that all the problems you are describing here are from interactions between extensions that are not part of the regular MoI install and are not supported by myself directly.

- Michael
From: moritzbock (MORITZ)
11 Apr 2018   [#26] In reply to [#25]
Hello Michael,
thanks for the help.
I'd better leave the MoI V4 as it is for now.
But what I really miss - compared to the V 3.1 - are the little helpers for better orientation (see photos). Will they reappear in the final version?
- moritz

Image Attachments:
Bildschirmfoto 2018-04-11 um 23.53.26.png  Bildschirmfoto 2018-04-11 um 23.53.56.png  Bildschirmfoto 2018-04-11 um 23.55.22.png 


From: Michael Gibson
11 Apr 2018   [#27] In reply to [#26]
Hi moritz, yup those text labels will be coming back for v4 soon.

- Michael

Show messages:  1-11  12-27