Skip to content

Commit 0e3b9c0

Browse files
committed
added ui fixes
1 parent 5a29945 commit 0e3b9c0

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

src/main/java/org/pathvisio/githubplugin/GUI/CommitExistingPathwayDialog.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private void buildUI()
118118
JPanel formPanel = new JPanel();
119119
formPanel.setLayout(new BoxLayout(formPanel, BoxLayout.Y_AXIS));
120120

121-
descriptionArea = new JTextArea(1, 30);
121+
descriptionArea = new JTextArea(4, 30);
122122
statusArea = new JTextArea(4, 30);
123123
statusArea.setEditable(false);
124124
statusArea.setText("Ready.");
@@ -143,6 +143,7 @@ private void buildUI()
143143
whatChangedPanel.add(otherCheckBox);
144144

145145
JLabel commentLabel = new JLabel("Additional Comment:");
146+
formPanel.add(whatChangedPanel);
146147
formPanel.add(commentLabel);
147148
formPanel.add(new JScrollPane(descriptionArea));
148149

@@ -216,8 +217,12 @@ public void windowClosing(WindowEvent e)
216217

217218
saveButton.addActionListener(e -> startBranchReuseCheck());
218219

219-
add(contextPanel, BorderLayout.NORTH);
220-
add(formPanel, BorderLayout.CENTER);
220+
JPanel topPanel = new JPanel();
221+
topPanel.setLayout(new BoxLayout(topPanel, BoxLayout.Y_AXIS));
222+
topPanel.add(contextPanel);
223+
topPanel.add(formPanel);
224+
225+
add(topPanel, BorderLayout.NORTH);
221226
add(southPanel, BorderLayout.SOUTH);
222227

223228
pack();

0 commit comments

Comments
 (0)