フルスクリーンモードの時はタブバーの幅だけ変えるようにした
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4169 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
3022f2dd69
commit
a2f74e4e57
@ -382,7 +382,9 @@ var TreeStyleTabService = {
|
||||
var treeStyleTab = gBrowser.treeStyleTab;
|
||||
var tabbarWidth = treeStyleTab.splitterWidth + (treeStyleTab.isVertical ? gBrowser.mStrip.boxObject.width : 0 );
|
||||
var contentWidth = gBrowser.boxObject.width - tabbarWidth;
|
||||
if (aKeepWindowSize) {
|
||||
if (aKeepWindowSize ||
|
||||
window.fullScreen ||
|
||||
window.windowState != Components.interfaces.nsIDOMChromeWindow.STATE_NORMAL) {
|
||||
this.setTabbarWidth(Math.max(10, gBrowser.boxObject.width - aWidth));
|
||||
}
|
||||
else if (tabbarWidth + aWidth <= screen.availWidth) {
|
||||
|
Loading…
Reference in New Issue
Block a user