From ce3e5ed8abed77be84aad87250e95505726a56a6 Mon Sep 17 00:00:00 2001 From: piro Date: Sat, 26 Jun 2010 14:12:45 +0000 Subject: [PATCH] =?UTF-8?q?fullScreenCanvas=E3=81=A7=E9=9A=A0=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=82=8B=E6=99=82=E3=81=AB=E3=83=9C=E3=83=83?= =?UTF-8?q?=E3=82=AF=E3=82=B9=E3=81=AE=E6=AD=A3=E3=81=97=E3=81=84=E5=B9=85?= =?UTF-8?q?=E3=82=92=E5=8F=96=E5=BE=97=E3=81=A7=E3=81=8D=E3=81=A6=E3=81=84?= =?UTF-8?q?=E3=81=AA=E3=81=8B=E3=81=A3=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6729 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 7f8559e4..ae2c6b0b 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -1291,8 +1291,11 @@ TreeStyleTabBrowser.prototype = { strip.style.top = (box.screenY - root.screenY)+'px'; strip.style.left = (box.screenX - root.screenX)+'px'; - strip.style.width = (tabContainerBox.width = box.width)+'px'; - strip.style.height = (tabContainerBox.height = box.height)+'px'; + let width = parseInt(this._tabStripPlaceHolder.getAttribute('width') || box.width); + let height = parseInt(this._tabStripPlaceHolder.getAttribute('height') || box.height); + + strip.style.width = (tabContainerBox.width = width)+'px'; + strip.style.height = (tabContainerBox.height = height)+'px'; tabContainerBox.collapsed = (this.splitter && this.splitter.getAttribute('state') == 'collapsed'); }