mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Changed 'Copy error' button: bigger font, shorter text
This commit is contained in:
@ -452,12 +452,7 @@ public class EditorStatus extends JPanel /*implements ActionListener*/ {
|
|||||||
add(progressBar);
|
add(progressBar);
|
||||||
progressBar.setVisible(false);
|
progressBar.setVisible(false);
|
||||||
|
|
||||||
copyErrorButton = new JButton(
|
copyErrorButton = new JButton(_("Copy error"));
|
||||||
"<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);
|
|
||||||
add(copyErrorButton);
|
add(copyErrorButton);
|
||||||
copyErrorButton.setVisible(false);
|
copyErrorButton.setVisible(false);
|
||||||
copyErrorButton.addActionListener(new ActionListener() {
|
copyErrorButton.addActionListener(new ActionListener() {
|
||||||
|
Reference in New Issue
Block a user