Merge pull request #1126 from SiboVG/fix-layout-nose-cone

[fixes #1125] Fix nose cone config layout
This commit is contained in:
Joe Pfeiffer 2022-02-13 19:01:09 -07:00 committed by GitHub
commit c40acb7cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,7 @@ public class DescriptionArea extends JScrollPane {
Dimension dim = editorPane.getPreferredSize(); Dimension dim = editorPane.getPreferredSize();
dim.height = lineheight * rows + extraheight + 2; dim.height = lineheight * rows + extraheight + 2;
this.setPreferredSize(dim);
this.setViewportView(editorPane); this.setViewportView(editorPane);
this.setText(text); this.setText(text);