Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve styling of expand/collapse button in find/replace overlay #2018 #2029

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

HeikoKlare
Copy link
Contributor

@HeikoKlare HeikoKlare commented Jul 4, 2024

The button for expanding the find/replace overlay to show the replace bar it quite large on MacOS and also changes its size upon different events, such activating options and scrolling in the editor target.

With this change, the button style is changed to "FLAT". It results in a less space-consuming layout and fixes its size so that it does not resize on events like scrolling in the target editor.

Fixes #2018

Appearance on MacOS

Existing

image
image
image

New

image
image
image

Appearance on Windows and Linux

The change has no effect on Windows and Linux.

@HeikoKlare HeikoKlare marked this pull request as ready for review July 4, 2024 11:41
@HeikoKlare
Copy link
Contributor Author

@thomasritter could you please test whether this PR fixes the issue(s) you have reported in #2018?

Copy link
Contributor

github-actions bot commented Jul 4, 2024

Test Results

 1 815 files  ±0   1 815 suites  ±0   1h 32m 14s ⏱️ -33s
 7 663 tests ±0   7 435 ✅ ±0  228 💤 ±0  0 ❌ ±0 
24 150 runs  ±0  23 401 ✅ ±0  749 💤 ±0  0 ❌ ±0 

Results for commit 332d60b. ± Comparison against base commit 0e79c18.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@BeckerWdf BeckerWdf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much better.

@HeikoKlare HeikoKlare force-pushed the issue-2018 branch 3 times, most recently from 40702b0 to 0b3229b Compare July 7, 2024 11:50
…ipse-platform#2018

The button for expanding the find/replace overlay to show the replace
bar it quite large on MacOS and also changes its size upon different
events, such activating options and scrolling in the editor target.

With this change, the button style is changed to "FLAT". It results in a
less space-consuming layout and fixes its size so that it does not
resize on events like scrolling in the target editor.

Fixes eclipse-platform#2018
@HeikoKlare
Copy link
Contributor Author

I've tested again the (MacOS) scenarios described in #2018 and found all of them fixed. I've verified again that the change does not affect Windows and Linux. So let's merge this and see if it actually fixes the mentioned issues.

@HeikoKlare HeikoKlare merged commit 118f825 into eclipse-platform:master Jul 8, 2024
16 checks passed
@HeikoKlare HeikoKlare deleted the issue-2018 branch July 8, 2024 13:03
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: Arrow button re-sizes on editor scrolling
2 participants