Commit b0ee94a
committed
FindReplaceOverlay: avoid inconsistent borders #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 #21941 parent 462666b commit b0ee94a
File tree
1 file changed
+8
-3
lines changed- bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay
1 file changed
+8
-3
lines changedLines changed: 8 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 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
701 | 706 | | |
702 | 707 | | |
703 | 708 | | |
| |||
0 commit comments