Skip to content

Improve layout and spacing in Find and Replace dialogs#11565

Merged
niksedk merged 2 commits into
SubtitleEdit:mainfrom
mjuhasz:tweak/find-replace-dialog-spacing
Jun 12, 2026
Merged

Improve layout and spacing in Find and Replace dialogs#11565
niksedk merged 2 commits into
SubtitleEdit:mainfrom
mjuhasz:tweak/find-replace-dialog-spacing

Conversation

@mjuhasz

@mjuhasz mjuhasz commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Swap grid columns from (Auto, Star) to (Star, Auto) so the left side (search box and options) expands to fill available width, and the buttons column is sized to fit its content — eliminating the dead space on the right edge
  • Remove the hardcoded 50 px right margin from the buttons panel
  • Align radio buttons with the checkbox by removing their left indent
  • Unify vertical spacing: checkbox bottom margin reduced from 10 px to 3 px, radio buttons packed using StackPanel.Spacing = 0 instead of per-item margins
  • In the Replace dialog, reduce the gap between the search/checkbox section and the "Replace with" field from 20 px to 6 px

Before -> After

Find dialog:

Find - before Find - after

Replace dialog:

Replace - before Replace - after

Miklos Juhasz added 2 commits June 12, 2026 14:10
Swap grid columns from (Auto, Star) to (Star, Auto) so the left side
grows to fill available width instead of the button column. Remove the
50px right margin from the buttons panel.
Align radio buttons with the checkbox (remove left indent), reduce
checkbox bottom margin, and pack radio buttons tighter using
StackPanel.Spacing instead of per-item margins.
@niksedk niksedk merged commit dd7b5f3 into SubtitleEdit:main Jun 12, 2026
2 checks passed
@mjuhasz mjuhasz deleted the tweak/find-replace-dialog-spacing branch June 12, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants