MoI discussion forum
MoI discussion forum

Full Version: Side Panel set up

Show messages: All  1-3  4-7

From: Michael Gibson
4 Apr 2018   [#4] In reply to [#3]
Hi mat,

> Is it possible to simply pull out the "ViewportForeground.png" from the UI folder...put it in
> desktop folder outside of the MOI app, just to save it incase I decide to put it back?

Sure that would work fine. Or you could leave it in the UI folder and rename it as ViewportForeground_orig.png or something like that.


> Same question as above...can I pull out the current SidePane.htm, save it in a folder...drop in the SidePane
> split version to test? And put back the stock SidePane.htm if necessary?

Yup.


> I've renamed your split SidePane as SidePane_SplitView.htm....does changing the name affect anything?
> Just trying to keep track of the stock htm vs the modified one.

Changing the name should have the same effect in MoI as deleting the file - MoI is going to be looking for a file named SidePane.htm , any file named anything other than that will just not be used.

- Michael
From: mat10x
4 Apr 2018   [#5] In reply to [#4]
Hi Michael,

Everything worked great! The naming as on/off makes sense now. Got it.

I may try to separate out the "Draw Curve" and "Draw Solid" panels myself. Took a look at the HTM files side by side, original vs your modified one...I think I see the difference now.

If I understand this right...after the info for Draw Curve ending with
I type in </moi:PaletteBody>
Then...<moi:PaletteHeader id="DrawSolid">
-DrawSolid contents-

</moi:PaletteBody>

I'll give it a shot. I'm feeling lucky.

Thanks for the much appreciated help!

Mat
From: mat10x
7 Apr 2018   [#6] In reply to [#5]
Hi Michael,

Separated out the "Draw Curve"/"Draw Solid" thanks to you. Works great so far!

Just curious...why is it when I open the HTM file...the lines of code don't begin from the left hand side of the page. Seems to start from the centerline.

"TR" is lined up down the center of the page.

Thanks so much for your help! Love the customizability of MOI!
From: Michael Gibson
7 Apr 2018   [#7] In reply to [#6]
Hi mat,

re:
> Just curious...why is it when I open the HTM file...the lines of code don't begin from the left
> hand side of the page. Seems to start from the centerline.

That's from tab characters being expanded too large. Try using notepad++ to open it instead.

Having child content indented in helps to make sure opening/closing tags are balanced with each other.

- Michael

Show messages: All  1-3  4-7