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

Find/replace overlay: border size #2194

Closed
Tracked by #2021
jukzi opened this issue Aug 15, 2024 · 2 comments · Fixed by #2477
Closed
Tracked by #2021

Find/replace overlay: border size #2194

jukzi opened this issue Aug 15, 2024 · 2 comments · Fixed by #2477
Labels
bug Something isn't working

Comments

@jukzi
Copy link
Contributor

jukzi commented Aug 15, 2024

Very minor issue:
On windows, default light theme: the inner border size of the overlay search is unbalanced if (and only if) used on a read only document like a .class file. On the left it is 2 pixels, on the right it is 3 pixels. Screenshot:
image
@Wittmaxi

@jukzi jukzi added the bug Something isn't working label Aug 15, 2024
@Wittmaxi
Copy link
Contributor

occurs on Ubuntu too
image

@HeikoKlare
Copy link
Contributor

This always occurs if the replace toggle is not visible, e.g., also when it is hidden because the overlay is too small:
{134CA761-EF2D-4F5E-BE9E-A4863C54004D}

Reason is that the container grid layout always expects two colums but when the replace toggle is hidden only one exists, leading to an empty grid column.

HeikoKlare added a commit to HeikoKlare/eclipse.platform.ui that referenced this issue Nov 1, 2024
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 added a commit to HeikoKlare/eclipse.platform.ui that referenced this issue Nov 1, 2024
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 added a commit to HeikoKlare/eclipse.platform.ui that referenced this issue Nov 2, 2024
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 added a commit to HeikoKlare/eclipse.platform.ui that referenced this issue Nov 2, 2024
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 added a commit that referenced this issue Nov 3, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants