mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-27 21:54:30 +01:00
Changed 'Copy error' button: bigger font, shorter text
This commit is contained in:
parent
c2b55eb7a1
commit
9a173863e8
@ -452,12 +452,7 @@ public class EditorStatus extends JPanel /*implements ActionListener*/ {
|
||||
add(progressBar);
|
||||
progressBar.setVisible(false);
|
||||
|
||||
copyErrorButton = new JButton(
|
||||
"<html>" + _("Copy error") + "<br>" + _("to clipboard") + "</html>");
|
||||
Font font = copyErrorButton.getFont();
|
||||
font = new Font(font.getName(), font.getStyle(), (int) (font.getSize()*0.7));
|
||||
copyErrorButton.setFont(font);
|
||||
copyErrorButton.setHorizontalAlignment(JLabel.CENTER);
|
||||
copyErrorButton = new JButton(_("Copy error"));
|
||||
add(copyErrorButton);
|
||||
copyErrorButton.setVisible(false);
|
||||
copyErrorButton.addActionListener(new ActionListener() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user