TextLineWrap: wrapping to just width uses bottomless box
This commit is contained in:
parent
fd53930980
commit
4af761ae33
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class TextLineWrapImpl implements WordWrapper {
|
||||||
) {
|
) {
|
||||||
return wrap(text, font, graphics2D,
|
return wrap(text, font, graphics2D,
|
||||||
Collections.singletonList(
|
Collections.singletonList(
|
||||||
new Rectangle(width, width)))
|
new Rectangle(width, Integer.MAX_VALUE)))
|
||||||
.get(0);
|
.get(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue