Merge branch 'master' of github.com:piroor/treestyletab

This commit is contained in:
SHIMODA Hiroshi 2012-04-24 18:46:15 +09:00
commit 8beca4c5c1

View File

@ -1724,7 +1724,7 @@ TreeStyleTabBrowser.prototype = {
statusPanelStyle.marginLeft = (contentBox.screenX - offsetParentBox.screenX + chromeMargins[3])+'px'; statusPanelStyle.marginLeft = (contentBox.screenX - offsetParentBox.screenX + chromeMargins[3])+'px';
statusPanelStyle.marginRight = ((offsetParentBox.screenX + offsetParentBox.width) - (contentBox.screenX + contentBox.width) + chromeMargins[1])+'px'; statusPanelStyle.marginRight = ((offsetParentBox.screenX + offsetParentBox.width) - (contentBox.screenX + contentBox.width) + chromeMargins[1])+'px';
statusPanelStyle.maxWidth = this.isVertical ? statusPanelStyle.maxWidth = this.isVertical ?
parseInt(contentBox.width / 2)+'px' : (contentBox.width-5)+'px' : // emulate the margin defined on https://bugzilla.mozilla.org/show_bug.cgi?id=632634
'' ; '' ;
statusPanel.__treestyletab__repositioned = true; statusPanel.__treestyletab__repositioned = true;
} }