From 41dfebc85370fa0500ba60a16f5a202ff13cace8 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Wed, 25 Oct 2017 22:24:13 +0900 Subject: [PATCH] Ensure Replace box's width when showing --- src/vs/editor/contrib/find/findWidget.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vs/editor/contrib/find/findWidget.ts b/src/vs/editor/contrib/find/findWidget.ts index 7bc4430334f5e..2308d817cd6c3 100644 --- a/src/vs/editor/contrib/find/findWidget.ts +++ b/src/vs/editor/contrib/find/findWidget.ts @@ -289,6 +289,7 @@ export class FindWidget extends Widget implements IOverlayWidget, IHorizontalSas if (this._state.isReplaceRevealed) { if (!this._codeEditor.getConfiguration().readOnly && !this._isReplaceVisible) { this._isReplaceVisible = true; + this._replaceInputBox.width = this._findInput.inputBox.width; this._updateButtons(); } } else {