mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
fix for 101796, make tabs static width. r=bryner, sr=shaver
This commit is contained in:
parent
af8bace4f9
commit
08c8ea6c99
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user