Et2Textarea: Fix height parameter

This commit is contained in:
nathan 2024-03-27 13:44:23 -06:00
parent 12f15ee121
commit 0ad19cbd80

View File

@ -72,13 +72,13 @@ export class Et2Textarea extends Et2InputWidget(SlTextarea)
connectedCallback() connectedCallback()
{ {
super.connectedCallback(); super.connectedCallback();
if(this.__width && this._inputNode) if(this.__width)
{ {
this._inputNode.style.width = this.__width; this.style.width = this.__width;
} }
if(this.__height && this._inputNode) if(this.__height)
{ {
this._inputNode.style.height = this.__height; this.style.height = this.__height;
} }
} }