Full Version: CustomUI

From: agonyii [#294]
 8 Apr
To: ALL

I was afraid you would say that :D usually you bring the good news :D Appreciate it anyway!

Reply


From: Michael Gibson [#295]
 8 Apr
To: ALL

Hi agonyii, I did happen to recently look into the possibility of making an option for that, but I found that it would require some major changes in the display engine for curve drawing. The way curve drawing works currently for the viewport display is based off of blending against an opaque background.

- Michael

Reply


Message 6507.296 was deleted


From: agonyii [#297]
 28 May
To: ALL

> @Max hmm it seems, I still have an issue.

> I've changed '0xFFFFFF' to the '0x333333' as instructed.

> Even though #333333 is now set as thumb background color it still ads a prop with a white background. When I reopen Moi, my thumb background is properly displayed with #333333.

> Strange. Appreciate it if you have a clue what's causing that.

Ah never mind, solved it! Thumb was still white only because I was overwriting the preexisting asset. When you overwrite an asset, Moi is basically loading the old - cached icon until you reopen the app.

I'm leaving this here for the reference :D

Reply


From: mike (MIOHN) [#298]
 4 Jun
To: ALL

Hi,

I like this custom UI very much.
Any way, to get a "dark" version for this UI?

Or can I change this somehow by myself?

(but have absolutely no knowledges about scriting etc.)

regards
Mike

Reply


From: Michael Gibson [#299]
 4 Jun
To: ALL

Hi Mike, do you have the rest of the UI set up to be dark and only the CustomUI pieces aren't?

If that's what you've got can you maybe post a screenshot?

- Michael

Reply


From: ogarogar [#300]
 4 Jun
To: ALL

So installed CustomUI.2.0.beta2 into MoI 4.0 beta May-12-2018 and my lighting options are no longer there. When I tap on the lighting Icon I get the message "Lighting Options add-on not found!" I'm also getting...

ReferenceError: Can't find variable: _Subdiv_beta9
line 1
1: >> _Subdiv_beta9

ReferenceError: Can't find variable: _sBridge
line 1
1: >> _sBridge

ReferenceError: Can't find variable: _sSplit
line 1
1: >> _sSplit

ReferenceError: Can't find variable: _sScale
line 1
1: >> _sScale

ReferenceError: Can't find variable: _ImportObj
line 1
1: >> _ImportObj

I'm sure I installed it correctly but I wondering what's going wrong with the update. I'm really concern about my lighting options.

Thanks,
Ogar

Reply


From: Michael Gibson [#301]
 5 Jun
To: ALL

Hi Ogar, so those "can't find variable" errors come from MoI trying to execute that text as literal script code. But it will only do that if there was no command with that name found so maybe things are installed one directory too deep or something like that.

You should have .js and .htm files with those names in either the MoI appdata commands folder (%Appdata%\moi\commands) or the beta's built in commands folder (c:\Program Files\MoI 4.0 beta May-12-2018\commands) to avoid that error.

For lighting options I seem to remember that some modules of CustomUI are not enabled by default, you need to enable them by something like removing a leading character from the filename which CustomUI looks for and skips that module if its present.

- Michael

Reply


From: Roger (ROGERMACEDO) [#302]
 8 Jun
To: ALL

Hi Max, could you please, let me know how to install it in a Mac? Unfortunately I have no idea on how to make it work and I'd love to use that. Thank you very much.

Reply


From: Michael Gibson [#303]
 8 Jun
To: ALL

Hi Roger, which version of MoI do you want to install it on?

- Michael

Reply


From: hep [#304]
 18 Jun
To: ALL

Hi
This time i tried to use the GUI builder to update the color scheme I prefer for Moi3D but unfortunately the "options" and "help" buttons moved from the end of the commandbar to a position in the middle.
I have seen a comment somewhere inhere describing how to fix it but I cannot find it, do some of you know how to fix it?

Image Attachments:
Moi3D ui 1.png  Moi3D ui2.png 

Reply


From: Michael Gibson [#305]
 18 Jun
To: ALL

Hi hep, probably it has to do with old v3 flexbox CSS properties being used by the GUI builder, maybe it needs a little adjustment to work with v4.

Is this happening when you're running the GUI Builder in v4 or are you doing something like just copying a v3 moi.css file into v4?

- Michael

Reply


From: hep [#306]
 18 Jun
To: ALL

Hi Michael
I am running the GUI builder for v4.
yes, it need some small adjustment, and i just thought i have seen how to tweak it in here somewhere, but i might be wrong.
The set up i had for v3 was made directly in Moi.css, but this time i thought i would try the GUI builder so it would be easier always to use the newest Beta version :-)

Reply


From: Michael Gibson [#307]
 18 Jun
To: ALL

Hi hep, I forget exactly how the GUI builder works but I think it makes a new moi.css file? Can you post the moi.css file that it made so I can take a look at it?

- Michael

Reply


From: hep [#308]
 18 Jun
To: ALL

hi Michael

Yes it makes a new CSS file. and i have attached the new one here.

Attachments:
moi.css

Reply


From: Michael Gibson [#309]
 18 Jun
To: ALL

Hi hep, the problem is that it makes a moi.css file based off of what MoI v3 used and doesn't have changes that were done for v4. The main thing that's different is that MoI v3 used the original webkit flexbox implementation which is now deprecated and v4 uses the standardized flexbox.

I've attached here a version of your customized moi.css that has the flexbox properties in it updated to what v4 is using, that should fix it.

- Michael

Attachments:
moi.css

Reply


From: hep [#310]
 18 Jun
To: ALL

Hi Michael

Thanks for your explanation.
And the changes you made - they did the trick :-)

Reply


From: chippwalters [#311]
 18 Jun
To: ALL

Hi all,

FYI GUI Builder is NOT fully compatible with 4.0. Sorry, I haven't yet had time to update it and probably won't until Michael locks down all the HTML/CSS for the interface.

Reply


From: BurrMan [#312]
 8 Jul
To: ALL

""""""""""For lighting options I seem to remember that some modules of CustomUI are not enabled by default, you need to enable them by something like removing a leading character from the filename which CustomUI looks for and skips that module if its present."""""""

I think he is referring to this?



My "Lighting options" is a js file stored in the "scripts" directory, which creates a dialogue from "LightingThemes.htm" located in the ui directory!

So mine came back, when I told Customui to look at my "scripts" directory!



I modify a second scripts.menu.htm to draw from the scripts directory, so I can separate a few things out from commands.



I am pretty much guessing if this mod is proper and legit. Things changed a bit from the last version!

Image Attachments:
lighting options.jpg  lighting_theme.jpg  scripts_only_menu.jpg 

Reply


From: BurrMan [#313]
 8 Jul
To: ALL

Question for Max,


You've moved to the appdata directory. I would like the ability to keep the install in MoI's install directory. (I keep MoI on a USB stick also, everything needed is in a single dir...

Will this be possible with your new plans? I have really come to rely on your Customui!!!

Thanks again!

Reply


Show messages:  1-13  …  234-253  254-273  274-293  294-313  314-333  334-339

Reply to All

Back to thread list | Login

© 2018 Project Beehive Forum