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:
@ -28,6 +28,7 @@ import java.awt.*;
|
|||||||
import java.awt.event.*;
|
import java.awt.event.*;
|
||||||
|
|
||||||
import javax.swing.*;
|
import javax.swing.*;
|
||||||
|
import javax.swing.border.Border;
|
||||||
|
|
||||||
import processing.app.helpers.OSUtils;
|
import processing.app.helpers.OSUtils;
|
||||||
|
|
||||||
@ -75,6 +76,11 @@ public class FindReplace extends JFrame implements ActionListener {
|
|||||||
public FindReplace(Editor editor) {
|
public FindReplace(Editor editor) {
|
||||||
super(_("Find"));
|
super(_("Find"));
|
||||||
this.editor = editor;
|
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:"));
|
JLabel findLabel = new JLabel(_("Find:"));
|
||||||
findField = new JTextField(20);
|
findField = new JTextField(20);
|
||||||
|
Reference in New Issue
Block a user