on the first url bar autocomplete search (for a new window), prevent the "stars" from jumping.
details in bug #399664 r=dietrich git-svn-id: svn://10.0.0.236/trunk@240136 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
1921071a7e
commit
38564d4fa5
@ -1110,9 +1110,13 @@
|
||||
// for the first richlistitem, when we call _adjustWidth()
|
||||
// from the xbl constructor, these elements don't have widths
|
||||
// but we rely on those widths to properly set the widths
|
||||
// of the scrollboxes.
|
||||
setTimeout(function(self) { self._adjustWidth(); }, 0, this);
|
||||
this._adjustAcItem();
|
||||
// of the scrollboxes. if we don't have the widths
|
||||
// try again on a timeout.
|
||||
if (!this._urlOverflowEllipsis.boxObject.width ||
|
||||
!this._titleOverflowEllipsis.boxObject.width)
|
||||
setTimeout(function(self) { self._adjustWidth(); }, 0, this);
|
||||
else
|
||||
this._adjustWidth();
|
||||
]]>
|
||||
</constructor>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user