bugfixing
This commit is contained in:
parent
ccc39cac9a
commit
9608b3156b
4 changed files with 38 additions and 9 deletions
|
@ -15,6 +15,7 @@ class Form extends UI {
|
|||
|
||||
labelCell.innerText = label;
|
||||
editorCell.appendChild(editor.element);
|
||||
editor.element.style.float = "right";
|
||||
|
||||
line.appendChild(labelCell);
|
||||
line.appendChild(editorCell);
|
||||
|
|
|
@ -8,8 +8,11 @@ class Panel extends UI {
|
|||
this.element.classList.add("panel");
|
||||
this.element.classList.add("shadow");
|
||||
this.element.classList.add("hidden");
|
||||
|
||||
this._children = [];
|
||||
}
|
||||
add(ui) {
|
||||
this._children.push(ui);
|
||||
this.element.appendChild(ui.element);
|
||||
}
|
||||
toggle() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue