CombineSidePanePalettes startup script
All  1-2  3-9

Previous
Next
 From:  Larry Fahnoe (FAHNOE)
10368.3 In reply to 10368.2 
Thanks Ed,

Yup more time in the "creative zone" indeed! While it does abuse Michael's UI a little, I have found it helpful to maintain my focus.

--Larry
  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:  ed (EDDYF)
10368.4 In reply to 10368.3 
Hi Larry,

Your script works on my Windows PC & Moi ver4. Thanks!

What would work best for me is to have the new combined "Draw Curve / Solid" and "Construction/Transformation" tabs always open. The current behavior is one will close if I pick another tab like "Edit"

I have a large monitor and I think the "Draw Curve / Solid" + "Construction/Transformation" + "Edit" tabs will fit if all remain open permanently. The other tabs are secondary.

What do you think?

Ed Ferguson
  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
10368.5 In reply to 10368.4 
Hi Ed, the code for closing side pane tabs is in the script function CompactPaletteHeaders inside the file SidePaneTabs.js if you want to modify the collapsing behavior.

Currently it should only try to collapse tabs if there is not room to fit them in the available vertical space without showing a scroll bar.

- 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:  ed (EDDYF)
10368.6 In reply to 10368.5 
Thanks Michael -

I modified Larry's CombineSidePane Pallets.js line 65

from:
sp.g_InsideCompactPaletteHeaders = false;

to:
sp.g_InsideCompactPaletteHeaders = true;

I removed SeparateSidePanePalettes.js from my Startup folder.

Now I have Larry's combined pallets plus all the other pallets open at startup.

This is almost perfect for my system, in my opinion. (I'm on a PC with a large monitor)

The one thing that would make it perfect is to have the side pane automatically scroll to the top whenever an input box appears (example: "Select objects to Fillet"). Otherwise it is likely hidden.



Ed Ferguson

EDITED: 17 Jun 2021 by EDDYF

  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:  Larry Fahnoe (FAHNOE)
10368.7 
Thanks Ed & Michael!

For me, having Michael's original code from SeparateSidePanePalettes:
code:
sp.g_InsideCompactPaletteHeaders = true;
sp.InitializeTabs();
sp.g_InsideCompactPaletteHeaders = false;

sp.CompactPaletteHeaders();


works better with my small laptop screen. I'm glad that you can tweak it for your preference though Ed. As to your other thought about having "the side pane automatically scroll to the top whenever an input box appears"...sorry, no clue on this end how to make that happen.

--Larry
  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
10368.8 In reply to 10368.6 
Hi Ed,

re:
> The one thing that would make it perfect is to have the side pane automatically scroll to the top
> whenever an input box appears (example: "Select objects to Fillet"). Otherwise it is likely hidden.

The way the regular one is set up it tries to avoid having the scroll bar appear. That's why it compacts palettes if there is not enough room.

That's based on the idea that It's better to have palettes collapse so that you can see all the palette titles on screen at a glance without having to scroll.

Having big giant palettes doesn't really fit with this strategy anymore.

But one thing you could try though for the effect you are talking about here is to move the side pane context area (that's where command UI gets displayed), out of the scroll bar area and into the top area where the title bar and current open file name is displayed.

To try that, go to SidePane.htm, and move <moi:SidePaneContextArea> outside of the middle body and place it after <moi:SidepaneFilename>.

Then command UI like prompts and command options should always be visible above the palette scrollable area instead of being inside the scrollable area.

- 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
 From:  ed (EDDYF)
10368.9 In reply to 10368.8 
Thanks Michael -

Your HTML code mod worked. (I made a backup in case a future update is not compatible)

The command prompts will always be docked & visible and I just have to do a slight MMB scroll if I need to see the very bottom of the menu stack. I'm fine with that.

Personally I prefer the always open "mega menu" with a slight scroll as opposed to targeting a tab with the mouse and click to expose a tool many times during a work session. It's a minor thing, but a matter of personal preference.

Again, thanks for your exceptional help.

Ed Ferguson
  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-2  3-9