Vertical children collection editors horizontal separator PlainTextGen
I have an editor in which I am rendering the children collection editors in the vertical collection (PlainText generator). I used the separator property to separate the children. However, I would like to customize it in order to be on the same line as the preceding element. Any advice on how to achieve it?
I leave the screenshot for reference to what I am trying to achieve.
Please sign in to leave a comment.
Vertical collection places each cell on its own line and the separator is just another cell.
I would try using indent collection without indent-new-line-children but add indent-new-line style to the separator.
Sergej Koščejev thank you very much for Your comment! Unfortunately, I followed your advices and it worked partially (or I did not follow it correctly ;)). I managed to achieve something as below:
I want to move the separator as shown in the picture.
I am rendering the "array" element using indent collection (the errors are on purpose not to have real names :))
The indent collection properties:
Later I have the child-element editor:
Any tips? I was thinking about the styling properties for separator but I can't find (something like margin-top) an appropriate one.
Try changing the ChildElementEditor from vertical collection to indent (there's an intention for that).
Okay, I managed to resolve it. Thank you so much!