Ticket #3114: patch.patch
| File patch.patch, 667 bytes (added by , 17 years ago) |
|---|
-
src/org/openstreetmap/josm/gui/JMultilineLabel.java
112 112 y += textLayout.getDescent() + textLayout.getLeading() + textLayout.getAscent(); 113 113 max = Math.max(max, textLayout.getVisibleAdvance()); 114 114 } 115 w += max;115 w = Math.max(max, w); 116 116 } 117 117 } 118 118 return new Dimension((int)Math.ceil(w), (int)Math.ceil(y) + insets.bottom);
