fix for 101796, make tabs static width. r=bryner, sr=shaver

This commit is contained in:
hyatt%netscape.com 2001-10-02 06:28:23 +00:00
parent af8bace4f9
commit 08c8ea6c99

View File

@ -61,7 +61,7 @@
<xul:menuitem label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;" oncommand="var tabbrowser = this.parentNode.parentNode.parentNode.parentNode; tabbrowser.removeAllTabsBut(document.popupNode);"/>
</xul:menupopup>
<xul:tabs style="padding-left:1px; padding-top: 1px;" flex="1">
<xul:tab flex="1" maxwidth="150" class="tabbrowser-tab" label="(Untitled)" crop="center"/>
<xul:tab flex="1" width="100" class="tabbrowser-tab" label="(Untitled)" crop="center"/>
</xul:tabs>
<xul:hbox mousethrough="always" align="center">
<spacer flex="1"/>
@ -355,7 +355,7 @@
t.setAttribute("label", aURI);
t.setAttribute("crop", "center");
t.maxWidth = 150;
t.width = 100;
t.setAttribute("flex", "1");
this.mTabContainer.appendChild(t);