mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 09:35:38 -05:00
Add width and height properties to checkbox component (#7482)
This commit is contained in:
@@ -100,6 +100,14 @@ export class Checkbox extends Widget {
|
||||
this.enabled = true;
|
||||
}
|
||||
|
||||
public setHeight(value: string) {
|
||||
this._el.style.height = value;
|
||||
}
|
||||
|
||||
public setWidth(value: string) {
|
||||
this._el.style.width = value;
|
||||
}
|
||||
|
||||
public style(styles: ICheckboxStyles): void {
|
||||
this.disabledCheckboxForeground = styles.disabledCheckboxForeground;
|
||||
this.updateStyle();
|
||||
|
||||
Reference in New Issue
Block a user