diff --git a/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts b/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts index dc1c02704de7c..ce99af8f16daf 100644 --- a/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts +++ b/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts @@ -216,6 +216,12 @@ export class BreakpointWidget extends ZoneWidget implements IPrivateBreakpointWi this.centerInputVertically(); } + protected override _onWidth(widthInPixel: number): void { + if (typeof this.heightInPx === 'number') { + this._doLayout(this.heightInPx, widthInPixel); + } + } + private createBreakpointInput(container: HTMLElement): void { const scopedContextKeyService = this.contextKeyService.createScoped(container); this.toDispose.push(scopedContextKeyService);