mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix vertical sizing of function node edit dialog
This commit is contained in:
parent
5ba0588c7b
commit
eb3330d145
@ -594,15 +594,15 @@
|
|||||||
$("#dialog-form .node-text-editor").css("height",height+"px");
|
$("#dialog-form .node-text-editor").css("height",height+"px");
|
||||||
|
|
||||||
var height = size.height;
|
var height = size.height;
|
||||||
$("#node-input-init-editor").css("height", (height -45-48)+"px");
|
$("#node-input-init-editor").css("height", (height - 83)+"px");
|
||||||
$("#node-input-func-editor").css("height", (height -45-48)+"px");
|
$("#node-input-func-editor").css("height", (height - 83)+"px");
|
||||||
$("#node-input-finalize-editor").css("height", (height -45-48)+"px");
|
$("#node-input-finalize-editor").css("height", (height - 83)+"px");
|
||||||
|
|
||||||
this.initEditor.resize();
|
this.initEditor.resize();
|
||||||
this.editor.resize();
|
this.editor.resize();
|
||||||
this.finalizeEditor.resize();
|
this.finalizeEditor.resize();
|
||||||
|
|
||||||
$("#node-input-libs-container").css("height", (height - 185)+"px");
|
$("#node-input-libs-container").css("height", (height - 192)+"px");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
Loading…
Reference in New Issue
Block a user