Positioning node depending on other nodes size

Hello again :slight_smile:

I was wondering if it’s somehow possible to position a node depending on another nodes size. The thing I wanna do is have text node 2 positioned on the right of text node 1. And the idea is that with changing text length in text node 1 text node 2 will be positioned along the x axis to always have the same margin from the text node 1. The picture below roughly presents what I gave in mind. I know this can be done in code, but was curious if this can be done with gui nodes properties (pivot/anchors)

So basically:

Both text 1 and text 2 content will be changed dynamically in code

It is not possible to anchor one node to another. It would be a nice thing to have though!

1 Like

Definitely! Ow well, I’ll try doing it through code. Thanks :slight_smile:

1 Like