Thank you NJDude
That makes writing the script a million times quicker, and I have changed my script as per your suggestion, so now everything lines up much better in the designer wooo hoo. But still when sending to UI cloud it's all completely out. Am I missing something or doing something wrong in the script ?
Thanks
AJ