Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e11ce83a authored by Leon Scroggins's avatar Leon Scroggins
Browse files

Use the same width as the TextView created layout.

Bug:3509684

Change-Id: I5fd1e3e73a07a6049eb8336339a1100e2a5f7018
parent 268c7111
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -415,7 +415,7 @@ import junit.framework.Assert;
            }
            CharSequence text = getText();
            // Copy from the existing Layout.
            mLayout = new WebTextViewLayout(text, text, getPaint(), w,
            mLayout = new WebTextViewLayout(text, text, getPaint(), mLayout.getWidth(),
                    mLayout.getAlignment(), mLayout.getSpacingMultiplier(),
                    mLayout.getSpacingAdd(), false, null, ellipsisWidth,
                    lineHeight);