AutoHideとの連携はタブバーを左に表示している時だけにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@1271 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
91caf46c39
commit
45a512fec2
@ -128,11 +128,13 @@ TreeStyleTabService.overrideExtensions = function() {
|
|||||||
appcontent.style.marginRight = '-'+autoHIDE.__treestyletab__tabBarWidth+'px';
|
appcontent.style.marginRight = '-'+autoHIDE.__treestyletab__tabBarWidth+'px';
|
||||||
appcontent.__treestyletab__resized = true;
|
appcontent.__treestyletab__resized = true;
|
||||||
}
|
}
|
||||||
|
/* doesn't work this hack for rightside tab bar
|
||||||
else if (treeStyleTabPos == 'right' &&
|
else if (treeStyleTabPos == 'right' &&
|
||||||
!appcontent.__treestyletab__resized) {
|
!appcontent.__treestyletab__resized) {
|
||||||
appcontent.style.marginLeft = '-'+autoHIDE.__treestyletab__tabBarWidth+'px';
|
appcontent.style.marginLeft = '-'+autoHIDE.__treestyletab__tabBarWidth+'px';
|
||||||
appcontent.__treestyletab__resized = true;
|
appcontent.__treestyletab__resized = true;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
window.setTimeout('autoHIDE.MoveC(true);', 100);
|
window.setTimeout('autoHIDE.MoveC(true);', 100);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ tabbrowser[treestyletab-vertical="true"] .tab-drop-indicator-bar
|
|||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* to modify browser's margin-left/margin-right dynamically */
|
/* to modify browser's margin dynamically */
|
||||||
#appcontent {
|
#appcontent {
|
||||||
position: relative;
|
position: relative;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user