Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FindReplaceOverlay: avoid inconsistent borders eclipse-platform#2194
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
- Loading branch information