Skip to content

Commit a9746d2

Browse files
committed
Increase left margins in F&R overlay
Allow for the error icon to appear completely when necessary e.g. when searching for an invalid regular expression.
1 parent 52d1a35 commit a9746d2

File tree

1 file changed

+2
-2
lines changed
  • bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay

1 file changed

+2
-2
lines changed

bundles/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/internal/findandreplace/overlay/FindReplaceOverlay.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ private void createReplaceBar() {
616616
private void createSearchContainer() {
617617
searchContainer = new FixedColorComposite(contentGroup, SWT.NONE, widgetBackgroundColor);
618618
GridDataFactory.fillDefaults().grab(true, true).align(GridData.FILL, GridData.FILL).applyTo(searchContainer);
619-
GridLayoutFactory.fillDefaults().numColumns(3).extendedMargins(4, 4, 3, 5).equalWidth(false)
619+
GridLayoutFactory.fillDefaults().numColumns(3).extendedMargins(7, 4, 3, 5).equalWidth(false)
620620
.applyTo(searchContainer);
621621

622622
createSearchBar();
@@ -627,7 +627,7 @@ private void createSearchContainer() {
627627
private void createReplaceContainer() {
628628
replaceContainer = new FixedColorComposite(contentGroup, SWT.NONE, widgetBackgroundColor);
629629
GridDataFactory.fillDefaults().grab(true, true).align(GridData.FILL, GridData.FILL).applyTo(replaceContainer);
630-
GridLayoutFactory.fillDefaults().margins(0, 0).numColumns(2).extendedMargins(4, 4, 3, 5).equalWidth(false)
630+
GridLayoutFactory.fillDefaults().margins(0, 0).numColumns(2).extendedMargins(7, 4, 3, 5).equalWidth(false)
631631
.applyTo(replaceContainer);
632632

633633
createReplaceBar();

0 commit comments

Comments
 (0)