Skip to content

Commit fe62d9c

Browse files
committed
Fix microsoft#63685 - fix search input heights on panel resize
1 parent 9e17c2c commit fe62d9c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/vs/base/browser/ui/findinput/findInput.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ export class FindInput extends Widget {
286286
private setInputWidth(): void {
287287
let w = this.width - this.caseSensitive.width() - this.wholeWords.width() - this.regex.width();
288288
this.inputBox.width = w;
289+
this.inputBox.layout();
289290
}
290291

291292
private buildDomNode(appendCaseSensitiveLabel: string, appendWholeWordsLabel: string, appendRegexLabel: string, history: string[], flexibleHeight: boolean): void {

src/vs/workbench/parts/search/browser/searchWidget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ export class SearchWidget extends Widget {
167167
public setWidth(width: number) {
168168
this.searchInput.setWidth(width);
169169
this.replaceInput.width = width - 28;
170+
this.replaceInput.layout();
170171
}
171172

172173
public clear() {

0 commit comments

Comments
 (0)