add widget grouping for future multi-extruder setups
This commit is contained in:
parent
279f2ad0b3
commit
e9a04969ee
4 changed files with 243 additions and 128 deletions
|
|
@ -382,7 +382,11 @@ var gs_moto_ui = exports;
|
|||
ip.setAttribute("rows", height);
|
||||
ip.setAttribute("wrap", "off");
|
||||
} else {
|
||||
ip.setAttribute("size", size);
|
||||
if (Number.isInteger(size)) {
|
||||
ip.setAttribute("size", size);
|
||||
} else {
|
||||
ip.setAttribute("style", `width:${size}`);
|
||||
}
|
||||
}
|
||||
ip.setAttribute("type", "text");
|
||||
row.style.display = hide ? 'none' : '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue