1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Find/Replace dialog, added 10px of padding to match other dialogs

This commit is contained in:
Cristian Maglie
2015-01-07 16:02:12 +01:00
parent 78e098e3d7
commit 18fc1c9f45

View File

@ -28,6 +28,7 @@ import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.border.Border;
import processing.app.helpers.OSUtils;
@ -76,6 +77,11 @@ public class FindReplace extends JFrame implements ActionListener {
super(_("Find"));
this.editor = editor;
JPanel contentPanel = new JPanel();
Border padding = BorderFactory.createEmptyBorder(10, 10, 10, 10);
contentPanel.setBorder(padding);
setContentPane(contentPanel);
JLabel findLabel = new JLabel(_("Find:"));
findField = new JTextField(20);
JLabel replaceLabel = new JLabel(_("Replace with:"));