A Komodo JavaScript macro that can be used to position the editor tabs on the right side and shown vertically.
Additional layouts (left, right, up, down, vertical, horizontal) can be made with different combinations, see here for the Mozilla tabbox positioning documentation: https://developer.mozilla.org/en/XUL_Tutorial/Tabboxes#Position_of_the_tabs
1 2 3 4 | var tabbox = document.getElementById("tabbed-view");
tabbox.setAttribute("orient", "horizontal");
tabbox.setAttribute("dir", "reverse");
tabbox.tabs.setAttribute("orient", "vertical");
|
Very nice! Could you tell us how to position it to the left instead though? And is there an easy way to change the width ?
for left side not write this line
tabbox.setAttribute("dir", "reverse");
or write
tabbox.setAttribute("dir", "");
for tab bottom side
var tabbox = document.getElementById("tabbed-view");
tabbox.setAttribute("orient", "vertical");
tabbox.setAttribute("dir", "reverse");
tabbox.tabs.setAttribute("orient", "orizzontal");
Thank you, this is brilliant. Works for K7 B1, too.
This is great and I've been using it for a long time. In Komodo Edit 9 however, the tabs are very small (pretty much invisible) -- see screenshot
Is it possible to change the width? I've tried playing around with the CSS but with no success:
Screenshot failed, sorry -- here is the link then https://www.dropbox.com/s/r1u96yb5w8be76p/Screenshot%202015-04-23%2011.35.44.png?dl=0