Skip to content

Commit 29db1d8

Browse files
committed
fix #141515.
1 parent c32b9a6 commit 29db1d8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ export class FindInput extends Widget {
7272

7373
protected controls: HTMLDivElement;
7474
protected regex: RegexCheckbox;
75-
private wholeWords: WholeWordsCheckbox;
76-
private caseSensitive: CaseSensitiveCheckbox;
75+
protected wholeWords: WholeWordsCheckbox;
76+
protected caseSensitive: CaseSensitiveCheckbox;
7777
public domNode: HTMLElement;
7878
public inputBox: HistoryInputBox;
7979

src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,12 @@ class NotebookFindInput extends FindInput {
159159
this._filtersAction.checked = false;
160160
}
161161
}));
162+
163+
this.inputBox.paddingRight = this.caseSensitive.width() + this.wholeWords.width() + this.regex.width() + this.getFilterWidth();
164+
}
165+
166+
private getFilterWidth() {
167+
return 2 /*margin left*/ + 2 /*border*/ + 2 /*padding*/ + 16 /* icon width */;
162168
}
163169

164170
private createFilters(container: HTMLElement): void {

0 commit comments

Comments
 (0)