Skip to content

Commit

Permalink
fix up aesthetics of the quick find dialogue
Browse files Browse the repository at this point in the history
  • Loading branch information
ix0rai committed Mar 3, 2024
1 parent dd7aafd commit d6f9004
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,16 @@ public void keyPressed(KeyEvent e) {
this.wrapCheckBox.setMnemonic(KeyBinds.QUICK_FIND_DIALOG_WRAP.getKeyCode());

// make buttons icon-only
this.nextButton.setText("");
this.nextButton.setIcon(GuiUtil.getDownChevron());
this.prevButton.setText("");
this.prevButton.setIcon(GuiUtil.getUpChevron());

// translations
this.ignoreCaseCheckBox.setText(I18n.translate("editor.quick_find.ignore_case"));
this.regexCheckBox.setText(I18n.translate("editor.quick_find.use_regex"));
this.wrapCheckBox.setText(I18n.translate("editor.quick_find.wrap"));
this.ignoreCase = I18n.translate("editor.quick_find.ignore_case");
this.useRegex = I18n.translate("editor.quick_find.use_regex");
this.wrap = I18n.translate("editor.quick_find.wrap");
this.next = "";
this.prev = "";
this.notFound = I18n.translate("editor.quick_find.not_found");
this.translate();
}
}
1 change: 1 addition & 0 deletions enigma/src/main/resources/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
"editor.quick_find.ignore_case": "Ignore case",
"editor.quick_find.use_regex": "Use regex",
"editor.quick_find.wrap": "Wrap",
"editor.quick_find.not_found": "Not found!",

"info_panel.identifier": "Identifier Info",
"info_panel.identifier.none": "No identifier selected",
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gson = "2.10.1"
asm = "9.6"
jopt = "6.0-alpha-3"
flatlaf = "3.4"
syntaxpain = "0.1.3"
syntaxpain = "0.1.4"
swing_dpi = "0.10"
fontchooser = "2.5.2"
tinylog = "2.6.2"
Expand Down

0 comments on commit d6f9004

Please sign in to comment.