updateLayout method
Implementation
void updateLayout(
int instanceId,
int id,
double x,
double y,
double w,
double h,
) {
var uiNode = controllerManager.findNode(instanceId, id);
w = correctPixel(w);
h = correctPixel(h);
LogUtils.dLayout(
"ID:$id, updateLayout, x:$x, y:$y, w:$w, h:$h",
);
if (uiNode != null) {
uiNode.updateLayout(x, y, w, h);
addUpdateNodeIfNeeded(uiNode);
}
}