зеркало из https://github.com/mozilla/gecko-dev.git
Make tabs crop title on "end", not in center. Bug 103450, patch from
Andrew <simm0@ii.net>, r=me, sr=hyatt
This commit is contained in:
Родитель
ccf594f1ae
Коммит
71405e70d7
|
@ -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:menuitem label="&closeOtherTabs.label;" accesskey="&closeOtherTabs.accesskey;" oncommand="var tabbrowser = this.parentNode.parentNode.parentNode.parentNode; tabbrowser.removeAllTabsBut(document.popupNode);"/>
|
||||||
</xul:menupopup>
|
</xul:menupopup>
|
||||||
<xul:tabs style="padding-left:1px; padding-top: 1px;" flex="1">
|
<xul:tabs style="padding-left:1px; padding-top: 1px;" flex="1">
|
||||||
<xul:tab flex="1" width="100" class="tabbrowser-tab" label="(Untitled)" crop="center"/>
|
<xul:tab flex="1" width="100" class="tabbrowser-tab" label="(Untitled)" crop="end"/>
|
||||||
</xul:tabs>
|
</xul:tabs>
|
||||||
<xul:hbox mousethrough="always" align="center">
|
<xul:hbox mousethrough="always" align="center">
|
||||||
<spacer flex="1"/>
|
<spacer flex="1"/>
|
||||||
|
@ -354,7 +354,7 @@
|
||||||
else
|
else
|
||||||
t.setAttribute("label", aURI);
|
t.setAttribute("label", aURI);
|
||||||
|
|
||||||
t.setAttribute("crop", "center");
|
t.setAttribute("crop", "end");
|
||||||
t.width = 100;
|
t.width = 100;
|
||||||
t.setAttribute("flex", "1");
|
t.setAttribute("flex", "1");
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче