Split Browserと組み合わせた時の制限を外す隠し設定

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@3190 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2008-10-17 15:47:45 +00:00
parent 12ea31490f
commit 870d11e0cb
2 changed files with 5 additions and 3 deletions

View File

@ -627,7 +627,8 @@ TreeStyleTabBrowser.prototype = {
if (!aPosition) aPosition = this.getTreePref('tabbar.position');
aPosition = String(aPosition).toLowerCase();
if (b.getAttribute('id') != 'content') {
if (b.getAttribute('id') != 'content' &&
!this.getTreePref('tabbar.position.subbrowser.enabled')) {
aPosition = 'top';
}
@ -671,7 +672,7 @@ TreeStyleTabBrowser.prototype = {
this.invertedPositionProp = 'screenX';
this.invertedSizeProp = 'width';
b.mTabBox.orient = 'horizontal';
b.mTabBox.orient = splitter.orient = 'horizontal';
b.mStrip.orient =
b.mTabContainer.orient =
b.mTabContainer.mTabstrip.orient =
@ -740,7 +741,7 @@ TreeStyleTabBrowser.prototype = {
this.invertedPositionProp = 'screenY';
this.invertedSizeProp = 'height';
b.mTabBox.orient = 'vertical';
b.mTabBox.orient = splitter.orient = 'vertical';
b.mStrip.orient =
b.mTabContainer.orient =
b.mTabContainer.mTabstrip.orient =

View File

@ -1,6 +1,7 @@
pref("extensions.treestyletab.tabbar.width", 200);
pref("extensions.treestyletab.tabbar.shrunkenWidth", 80);
pref("extensions.treestyletab.tabbar.position", "left");
pref("extensions.treestyletab.tabbar.position.subbrowser.enabled", false);
pref("extensions.treestyletab.tabbar.multirow", false);
pref("extensions.treestyletab.tabbar.invertScrollbar", true);
pref("extensions.treestyletab.tabbar.invertUI", true);