mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
@@ -79,7 +79,7 @@ export class Dropdown extends BaseDropdown {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export class DropdownList extends BaseDropdown {
|
export class DropdownList extends Dropdown {
|
||||||
protected borderWidth = 1;
|
protected borderWidth = 1;
|
||||||
|
|
||||||
private button?: Button;
|
private button?: Button;
|
||||||
@@ -145,7 +145,7 @@ export class DropdownList extends BaseDropdown {
|
|||||||
/**
|
/**
|
||||||
* Render the dropdown contents
|
* Render the dropdown contents
|
||||||
*/
|
*/
|
||||||
protected renderContents(container: HTMLElement): IDisposable | null {
|
protected override renderContents(container: HTMLElement): IDisposable | null {
|
||||||
let div = DOM.append(container, this._contentContainer);
|
let div = DOM.append(container, this._contentContainer);
|
||||||
div.style.width = (DOM.getTotalWidth(this.element) - this.borderWidth * 2) + 'px'; // Subtract border width
|
div.style.width = (DOM.getTotalWidth(this.element) - this.borderWidth * 2) + 'px'; // Subtract border width
|
||||||
return { dispose: () => { } };
|
return { dispose: () => { } };
|
||||||
|
|||||||
Reference in New Issue
Block a user