Commit 369dd22
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#21941 parent b61b3e4 commit 369dd22
File tree
1 file changed
+5
-3
lines changed- bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
695 | 696 | | |
696 | 697 | | |
697 | 698 | | |
698 | | - | |
699 | | - | |
700 | | - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
701 | 703 | | |
702 | 704 | | |
703 | 705 | | |
| |||
0 commit comments