I have a Vertical Layout Group with “child force expand - width” set to false.
As children of the Vertical Layout Group, I have several GameObjects with a Text component on each. For example, a Title, a Subtitle and a normal text. They have different font size, style and colors.
When I set the left padding of the Vertical Layout Group, all the text children are offset by this value (which is normal).
However, I want to define a different padding for each Text. Example : I want my title with a padding of 20 pixels, and my subtitle with a padding of 50 pixels.