Bug 495454: tab strip loses '+' button when you have four tabs and fennec is not full screen (fullscreen fix), r=stuart

This commit is contained in:
Mark Finkle 2009-08-19 16:08:52 -04:00
parent 7c7003ac23
commit 6eca3f9db7

View File

@ -11,8 +11,8 @@
extends="chrome://global/content/bindings/richlistbox.xml#richlistitem"> extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
<content> <content>
<xul:stack anonid="page" class="documenttab-container" flex="1"> <xul:stack anonid="page" class="documenttab-container" flex="1">
<html:canvas anonid="canvas" class="documenttab-canvas" left="8" width="100" height="75"/> <html:canvas anonid="canvas" class="documenttab-canvas" left="8" width="106" height="64"/>
<xul:vbox left="0" top="28"> <xul:vbox left="0" top="24">
<xul:image anonid="close" class="documenttab-close"/> <xul:image anonid="close" class="documenttab-close"/>
</xul:vbox> </xul:vbox>
</xul:stack> </xul:stack>
@ -30,8 +30,8 @@
<parameter name="srcCanvas"/> <parameter name="srcCanvas"/>
<body> <body>
<![CDATA[ <![CDATA[
const tabWidth = 100; const tabWidth = 106;
const tabHeight = 75; const tabHeight = 64;
let canvas = document.getAnonymousElementByAttribute(this, "anonid", "canvas"); let canvas = document.getAnonymousElementByAttribute(this, "anonid", "canvas");
let domWin = browser.contentWindow; let domWin = browser.contentWindow;