Align content in GraphView Node

Is there a way I can align my TextField so it’s next to my FacePic image? I’m accessing the style of the UIElement directly through code. So for example;

faceButt.style.[property] = [property];

I’m just unsure what code to use, and which elements to target. I.E. Do I access the Style of the FacePic and TextField, or do I effect the style of node.mainContainer?


176373-node.png


SOLVED :smiley:

So I put my facePicButt and TextField into the ExtensionContainer of the node. Then I set the ExtensionContainer’s FlexDirection to row using this;

node.extensionContainer.style.flexDirection = FlexDirection.Row;
node.extensionContainer.Add(facePicButt);
node.extensionContainer.Add(messageTextField);