Skip to content

Commit 3ffdfe3

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 a2c40f5 commit 3ffdfe3

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ private void createReplaceBar() {
624624
private void createSearchContainer() {
625625
searchContainer = new FixedColorComposite(contentGroup, SWT.NONE, widgetBackgroundColor);
626626
GridDataFactory.fillDefaults().grab(true, true).align(GridData.FILL, GridData.FILL).applyTo(searchContainer);
627-
GridLayoutFactory.fillDefaults().numColumns(3).extendedMargins(4, 4, 3, 5).equalWidth(false)
627+
GridLayoutFactory.fillDefaults().numColumns(3).extendedMargins(7, 4, 3, 5).equalWidth(false)
628628
.applyTo(searchContainer);
629629

630630
createSearchBar();
@@ -635,7 +635,7 @@ private void createSearchContainer() {
635635
private void createReplaceContainer() {
636636
replaceContainer = new FixedColorComposite(contentGroup, SWT.NONE, widgetBackgroundColor);
637637
GridDataFactory.fillDefaults().grab(true, true).align(GridData.FILL, GridData.FILL).applyTo(replaceContainer);
638-
GridLayoutFactory.fillDefaults().margins(0, 0).numColumns(2).extendedMargins(4, 4, 3, 5).equalWidth(false)
638+
GridLayoutFactory.fillDefaults().margins(0, 0).numColumns(2).extendedMargins(7, 4, 3, 5).equalWidth(false)
639639
.applyTo(replaceContainer);
640640

641641
createReplaceBar();

0 commit comments

Comments
 (0)