2.5 Mac UI

 From:  Michael Gibson
4913.9 In reply to 4913.7 
Hi ed - the problem if your remove them is that if you ever resize the window to make it smaller than your full screen (like if you unmaximize the window), some palettes will collapse down and leave only the header displaying. Normally you would then be able to click on the header after that to expand it again, but if you totally remove them then you will not be able to do that you could get in the situation where the palettes have collapsed and you don't have any way to expand it again.

So because of that I don't recommend that you remove them completely, it's probably best to leave at least a little bit of header at the top even if it doesn't have any text in it. You can remove the text from inside those by removing all the contents inside of the <moi:TabButton>...</moi:TabButton> elements, like the attached version.

There is some script code in the file SidePaneTabs.js that handles the collapsing and expanding of these palettes, and if you try to remove the tabs completely you would also need to alter some of the logic in that script code or else for example all your palettes would start out hidden because they would not initialize correctly since the initialization script code expects to set tab buttons to be active and tab buttons activating is what makes palettes to be shown or hidden.

If you do actually want them to be gone completely and you don't mind that the UI can then get broken if you resize the window to be smaller, you can set the TabContainers to have display:none by adding one line that says that to the css rule that controls the moi:TabContainer styling, see the attached SidePane2.htm that does that, the line added is marked with /* changed here */

- Michael