Adding multiple ui elements to a subworkflow, they appear in the order they were added. How can the order be changed?
They can't. Yet.
You could temporarily move them to a regular flow, order them, move them back.
Looking forward, if we can't get WYSIWYG editing working for subflows, I am thinking of exposing the order
property to the user when the nodes detect themselves to be contained in a subflow.
See the discussion here also:
Follow that to get to a feature request for all of the priority/ordering of dashboard items to be exposed programmatically. Feel free to add to that ticket - I'm not sure if there is a voting system, but I would love to see how many other people would find that useful.
I think that discussion is about dynamically setting the position at run time, rather than at design/deploy time.
There is already an open feature request for specifying widget order within a subflow. Widget ordering in subflows · Issue #1062 · FlowFuse/node-red-dashboard · GitHub