Bug 633390 - Crop long link URLs in the middle instead of at the end. ui-r=faaborg r+a=gavin

This commit is contained in:
Dão Gottwald 2011-02-28 12:58:44 +01:00
parent c14621d3a6
commit d1fee509d4
2 changed files with 2 additions and 1 deletions

View File

@ -4178,6 +4178,7 @@ var XULBrowserWindow = {
field.setAttribute("previoustype", field.getAttribute("type"));
field.setAttribute("type", type);
field.label = text;
field.setAttribute("crop", type == "overLink" ? "center" : "end");
this.statusText = text;
}
},

View File

@ -3738,7 +3738,7 @@
<xul:hbox class="statuspanel-inner">
<xul:label class="statuspanel-label"
role="status"
xbl:inherits="value=label,mirror"
xbl:inherits="value=label,crop,mirror"
flex="1"
crop="end"/>
</xul:hbox>