The community members are discussing how to align two elements in a composite component to justify both the left and right sides. One community member suggests using a grid-layout approach by creating a horizontal stack with two vertical stacks, one for the labels and one for the inputs. Another community member feels this doesn't fully address the issue of varying label widths. A third community member shares a potential solution using HTML templates to position and style the elements, which the original poster finds to be a good hybrid approach that provides flexibility.
Is there a way to let two elements align in a way that jusfies both left and right hand side of the composite component? Currently, I get something like this. But I would like to extend the elements sides so they match:
You are right. It is working, when you split it into columns like that. While I was working into creating a better layout for my app, I came up with the idea to wrap my elements in html and use html templates to both position and style the elements. I feel it's a good hybrid and gives me a lot of flexibility.