Skip to content

Commit

Permalink
SearchReplace dialog: Use full width, closes gsantner#2367, by @gsantner
Browse files Browse the repository at this point in the history


(cherry picked from commit d8cd590)
  • Loading branch information
gsantner authored and elyahw committed Sep 26, 2024
1 parent 66ee7ce commit 9eea515
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,9 @@ public void afterTextChanged(Editable s) {

builder.setView(viewRoot).setNegativeButton(R.string.cancel, null);
dialog.set(builder.show());

//noinspection DataFlowIssue
dialog.get().getWindow().setLayout(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
}

private void performReplace(final boolean replaceAll) {
Expand Down

0 comments on commit 9eea515

Please sign in to comment.