Skip to content

Commit

Permalink
GH-173 address line wrapping issue with printing popup annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Corless committed Jul 27, 2023
1 parent 973b444 commit bc86d1e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ private void buildPopupPaintables() {
font = font.deriveFont(fontSize);
textArea.setFont(font);
textArea.setWrapStyleWord(true);
textArea.setLineWrap(true);
textArea.setBorder(BorderFactory.createCompoundBorder(BorderFactory.createLineBorder(color),
BorderFactory.createEmptyBorder(2, 2, 2, 2)));
popupPaintablesPanel.add(textArea);
Expand Down

0 comments on commit bc86d1e

Please sign in to comment.