Add left padding to search panel buttons.

This commit is contained in:
Cody 2024-09-09 22:28:04 -06:00
parent 86bc66e0d4
commit 262a408c95

AI 샘플 코드 생성 중입니다

Loading...

View File

@ -54,6 +54,7 @@ public class TextAreaSearchPanel extends JPanel
JPanel searchPanel = new JPanel();
searchPanel.setLayout(new BoxLayout(searchPanel, BoxLayout.X_AXIS));
searchPanel.add(Box.createHorizontalStrut(35));
JButton searchNext = new JButton(IconResources.nextIcon);
searchPanel.add(searchNext);
searchNext.addActionListener(arg0 -> ((SearchableRSyntaxTextArea) textArea).search(searchInput.getText(), true, caseSensitiveSearch.isSelected()));