Skip to content

Conversation

@HeikoKlare
Copy link
Contributor

When the replace toggle in the FindReplaceOverlay is not shown because the target file is read-only or because the editor is too small to show the toggle button, the right border of the overlay is larger than the others. The reason is an inconsistent layout, as the container always expects two columns of elements but when the replace toggle is hidden only one column is present.

With this change, the number of columns of the container is adapted according to whether the replace toggle is present or not.

Fixed #2194

{5D737CB6-6D92-41D8-8DCE-8CE4A3AA16BB}
{84B92C23-5C69-4728-8AD1-F1BB7FF975C4}

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2024

Test Results

 1 821 files  ±0   1 821 suites  ±0   1h 44m 16s ⏱️ - 11m 21s
 7 724 tests ±0   7 496 ✅ ±0  228 💤 ±0  0 ❌ ±0 
24 333 runs  ±0  23 586 ✅ ±0  747 💤 ±0  0 ❌ ±0 

Results for commit 6d57b4b. ± Comparison against base commit 462666b.

♻️ This comment has been updated with latest results.

@HeikoKlare HeikoKlare marked this pull request as ready for review November 2, 2024 08:21
When the replace toggle in the FindReplaceOverlay is not shown because
the target file is read-only or because the editor is too small to show
the toggle button, the right border of the overlay is larger than the
others. The reason is an inconsistent layout, as the container always
expects two columns of elements but when the replace toggle is hidden
only one column is present.

With this change, the number of columns of the container is adapted
according to whether the replace toggle is present or not.

Fixed eclipse-platform#2194
@HeikoKlare HeikoKlare merged commit eacd0b4 into eclipse-platform:master Nov 3, 2024
17 checks passed
@HeikoKlare HeikoKlare deleted the issue-2194 branch November 3, 2024 09:32
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.

Find/replace overlay: border size

1 participant