bugfix: image widget was mis-aligned when node has multiline widget
diff --git a/web/scripts/app.js b/web/scripts/app.js
index 09310c7f8a..bf424058fd 100644
--- a/web/scripts/app.js
+++ b/web/scripts/app.js
@@ -368,7 +368,11 @@ export class ComfyApp {
 					shiftY = w.last_y;
 					if (w.computeSize) {
 						shiftY += w.computeSize()[1] + 4;
-					} else {
+					}
+					else if(w.computedHeight) {
+						shiftY += w.computedHeight;
+					}
+					else {
 						shiftY += LiteGraph.NODE_WIDGET_HEIGHT + 4;
 					}
 				} else {
diff --git a/web/scripts/widgets.js b/web/scripts/widgets.js
index dfa26aef43..89d4a2e38f 100644
--- a/web/scripts/widgets.js
+++ b/web/scripts/widgets.js
@@ -129,6 +129,7 @@ function addMultilineWidget(node, name, opts, app) {
 			w.y = y;
 			if (w.type === "customtext") {
 				y += freeSpace;
+				w.computedHeight = freeSpace - multi.length*4;
 			} else if (w.computeSize) {
 				y += w.computeSize()[1] + 4;
 			} else {

![bug](https://github.com/comfyanonymous/ComfyUI/assets/128333288/232e02fe-63b3-4b17-b8c6-4d172aa6d6e8)
![fixed](https://github.com/comfyanonymous/ComfyUI/assets/128333288/86a3239c-c480-45b3-91f8-0a150c40b52a)
