Skip to content

Commit 9a17386

Browse files
committed
Changed 'Copy error' button: bigger font, shorter text
1 parent c2b55eb commit 9a17386

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

app/src/processing/app/EditorStatus.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -452,12 +452,7 @@ public void keyTyped(KeyEvent event) {
452452
add(progressBar);
453453
progressBar.setVisible(false);
454454

455-
copyErrorButton = new JButton(
456-
"<html>" + _("Copy error") + "<br>" + _("to clipboard") + "</html>");
457-
Font font = copyErrorButton.getFont();
458-
font = new Font(font.getName(), font.getStyle(), (int) (font.getSize()*0.7));
459-
copyErrorButton.setFont(font);
460-
copyErrorButton.setHorizontalAlignment(JLabel.CENTER);
455+
copyErrorButton = new JButton(_("Copy error"));
461456
add(copyErrorButton);
462457
copyErrorButton.setVisible(false);
463458
copyErrorButton.addActionListener(new ActionListener() {

0 commit comments

Comments
 (0)