Skip to content

Commit

Permalink
line wrap on text view (AlloyTools#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmacedo committed Oct 16, 2024
1 parent 28cbf9e commit 68ba230
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ private JComponent getTextComponent(List<String> texts, boolean wrap) {
diagramsScrollPanels.setLayout(new BoxLayout(diagramsScrollPanels, BoxLayout.LINE_AXIS));
for (int i = 0; i < texts.size(); i++) {

final JTextArea ta = OurUtil.textarea(texts.get(i), 10, 10, false, false);
final JTextArea ta = OurUtil.textarea(texts.get(i), 10, 10, false, wrap);

try {
List<Entry<Integer,Integer>> dfs = new ArrayList<>();
Expand Down

0 comments on commit 68ba230

Please sign in to comment.