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.

 

0
4 comments

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.

1

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. 

0

Try changing the ChildElementEditor from vertical collection to indent (there's an intention for that).

1

Okay, I managed to resolve it. Thank you so much! 

0

Please sign in to leave a comment.