MoI discussion forum
MoI discussion forum

Full Version: CustomUI

Show messages:  1-16  …  317-336  337-356  357-376  377-396  397-416  417-436  437-456  …  517-522

From: Cody (ECHOLOCATING)
1 Apr 2019   [#377] In reply to [#376]
quote: Mr. Yuri
Now when I open MoI with Darktheme I see almost all icons (or sections?) collapsed.
Is there a way of choosing which sections will be opened at startup.

I don't believe the theme is interfering with how the icon panels initially are opened/closed. There were no changes to any code within that file. I believe MoI determines the available vertical space and auto-closes tabs as necessary.

Are you running MoI 3.0 or MoI 4.0 Beta?
What is your desktop resolution?
Is the application launching fullscreen or are you expanding it afterwards?

There are ways to manipulate how those panels are displayed. I have seen screenshots of panels where, say the Draw curve and Draw solid were combined into one panel. I have not done this myself, however.

-- Cody
From: Mr. Yuri (MR_JURAJ)
1 Apr 2019   [#378] In reply to [#377]
Hi Cody,
It happened ever since I installed on fresh install of MoI 4latest beta > Darktheme > CustomUI bar

Clean MoI was fine.

I have Windows 10-64bit and full HD display.

I'm lunching full screen.

Juraj
From: Michael Gibson
1 Apr 2019   [#379] In reply to [#376]
Hi Mr. Yuri,

> 1. Now when I open MoI with Darktheme I see almost all icons (or sections?) collapsed.
> Is there a way of choosing which sections will be opened at startup. I'm noob-programmer.

Try this - unmaximize the MoI window and stretch out the non-maximized size to be large, then close the window so that will establish the regular non-maximized window size. If the non-maximized window size is small I think that can cause the type of issue you are describing.


> 2. @Michael. maybe hint for later release. Would it be possible to map a command into Options> shortcut keys> map
> a command by clicking on something?

I do want to work on something similar to that in the future.

- Michael
From: Cody (ECHOLOCATING)
1 Apr 2019   [#380] In reply to [#378]
quote: Mr. Yuri
It happened ever since I installed on fresh install of MoI 4latest beta > Darktheme > CustomUI bar

Clean MoI was fine.

Interesting. Depending on how MoI is calculating the available space, the change of borders and padding with the icons, tabs and panels could possibly affect that. I did try some pretty crazy stuff at times when playing around with what could be accomplished with CSS. I'll keep this bug in mind as I continue to poke around with MoI.

When you say "full HD" display, you're talking about 1920 x 1080, correct?

If this problem persists after you try Michael's suggestion, we'll continue this in my Dark Gray Theme thread so we don't flood this Custom UI thread.

I use MoI 3.0 on Win XP (32-bit at work) and Win 8 (64-bit at home) and don't have problems... and thanks, Michael, for being so practical and reasonable about how you allow people to use the MoI software license. I would not have been able to make my Dark Gray Theme at work, nor practice modelling techniques on my own spare time without your generous stance on licensing. You rock, man!

-- Cody
From: Death
2 Apr 2019   [#381] In reply to [#380]
I installed the MiniSidepane.js and it is exactly what I wanted, cool!

But it is missing the selection and hide buttons. How do I get these to show?
From: Mr. Yuri (MR_JURAJ)
2 Apr 2019   [#382]
Hi Michael,
your suggestion worked.
When I switched to window mode it was very small.
So I expanded the window, expanded all the sections and set it to full screen.
Now when I open MoI the sections are expanded.

Thanks
Juraj
From: Michael Gibson
2 Apr 2019   [#383] In reply to [#381]
@Death,

> I installed the MiniSidepane.js and it is exactly what I wanted, cool!
>
> But it is missing the selection and hide buttons. How do I get these to show?

Do you possibly have a customized side pane UI?

Can you show what your side pane looks like?

- Michael
From: Death
2 Apr 2019   [#384] In reply to [#383]
Hi Michael,

sorry for the late response, was out all day...

Here's the screen grab from the side panel,

thanks for taking the time!

Image Attachments:
test.png 


From: Michael Gibson
2 Apr 2019   [#385] In reply to [#384]
Hi Death, since you have already customized the side pane you shouldn't use MiniSidepane.js - the way it works is it shuffles around some of the HTML content using script and it makes assumptions that the side pane contents are in their regular default setup.

It's meant to be used to rearrange the default side pane palettes, it doesn't really make sense to use it if you have customized and reordered it yourself already.

- Michael
From: Death
2 Apr 2019   [#386] In reply to [#385]
The thing is that they are missing...

I didn't change anything with the sidebar except adding the script in the startup folder.

Even if I use the unmodified MOI, they are still missing, so it isn't the customization that made them disappear...

Unless it' a Beta 4 issue?

Image Attachments:
test.png 


From: Michael Gibson
2 Apr 2019   [#387] In reply to [#386]
Hi Death, what you are showing there is a customized side pane, you probably got it from the dark UI customization.

re:
> I didn't change anything with the sidebar except adding the script in the startup folder.

You must have done so in order to get what you are showing.

If you didn't make a backup of the original UI before modifying it, you can get it by doing a reinstall.

- Michael
From: Death
2 Apr 2019   [#388] In reply to [#387]
Yeah, but the ONLY script is MiniSidepane.js, your script (in the previous pic) with an clean install, the items are still missing...
From: Michael Gibson
2 Apr 2019   [#389] In reply to [#388]
Hi Death, I'm not sure how to describe it more clearly - the items are missing because you have installed a customized SidePane.htm . The particular version you installed had them removed I guess.

The default UI looks like this:



Note for example the default UI has Draw curve / Draw solid as separate tabs while yours is not like that and instead has Draw/Edit combined together into a single tab. That's due to the custom UI that you are using.

To get back to the default UI you would need to restore the original SidePane.htm and any other files you modified or reinstall.

- Michael

Image Attachments:
Default_side_pane.jpg 


From: Michael Gibson
2 Apr 2019   [#390] In reply to [#388]
Hi Death, or probably to correct what I wrote above, it's not that your customized SidePane.htm has it missing - it's that MiniSidePane.js is not compatible with your customized SidePane.htm and won't work right, like I wrote above here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=6507.385

If you want to use MiniSidePane.js you would need to have the default SidePane.htm , not a modified one.

So either remove MiniSidePane.js or keep MiniSidePane.js and restore the default SidePane.htm .

If don't have the original SidePane.htm then do a reinstall to get the default UI back again.

- Michael
From: Death
2 Apr 2019   [#391] In reply to [#389]
Let me try again, because maybe I have been too muddy about this:

On a default installation I wanted the panes to be combined and open, the script to do that is MiniSidepane.js (to be installed into the startup folder), because the default installation doesn't have that.

However, when I do that, the aforementioned items are still missing. I guess Max Smirnov overlooked them? What I need to know is what to do to have them back in there.

Is there a version that has them?

(This is more a question directed a Max).

Suggestion: It would be great, if you (Michael) could implement that (combining/splitting up) of the panes as an checkbox option in the next beta under the Options Menu. I love MoI and think this is the way to go for modeling, but the constant switching between tabs is kind of annoying, especially if one has the screen real-estate to fit the open panes.

Anyway, thanks again for your time, sorry to steal so much of it...
From: Michael Gibson
2 Apr 2019   [#392] In reply to [#391]
Hi Death, oops sorry my problem was that I wasn't quite remembering properly what MiniSidepane.js does, I was thinking that it moved things in a different way (to split apart Construct / Transform tabs into individual tabs).

Sorry I was confused about that - there is additionally a problem with MiniSidepane.js that it should not be applied onto already customized UI.

So yeah it's just designed intentionally to remove those particular tabs. I don't think there is a version that keeps them.

But to modify it how you want, remove the 2 lines that have:

doc.getElementsByTagName("moi:PaletteHeader")[2].remove();
doc.getElementsByTagName("moi:PaletteBody")[2].remove();

That is the code that is removing the standard Edit / View / Select tabs.

If you then want to remove just the Edit tab on that row and leave View / Select put in this:

doc.getElementById("EditTab").remove();
doc.getElementById("EditTabContent").remove();

Hope I have that straightened out now, sorry for the confusion.

- Michael
From: Death
3 Apr 2019   [#393] In reply to [#392]
Thanks!

And sorry for stealing your time, it is better spent on developing MoI than talking to dummies like me, I appreciate your time and thanks for the solution. I'll try it and let you know things fared...

Have a good night and keep up the good work!

Jack
From: Michael Gibson
3 Apr 2019   [#394] In reply to [#393]
No problem Jack, sorry I wasn't understanding it for a while there!

- Michael
From: Death
3 Apr 2019   [#395] In reply to [#394]
You pointed me in the right direction, got it done the way I wanted now...

Here's what I tried to do and achieved thanks to your help.

Many thanks! (again)

Jack

Image Attachments:
test.png 


From: Mr. Yuri (MR_JURAJ)
5 Apr 2019   [#396]
Hi Death (weird thing to write)
You see all the icons now?
Can you share how and what you had to modify?

Thanks
Juraj

Show messages:  1-16  …  317-336  337-356  357-376  377-396  397-416  417-436  437-456  …  517-522