just one note:
You can achieve the same effect using the sequence operator instead of paddings.
Paddings are not cumulative and can be overridden during the Style creation so you should be careful with those.
So, using Sequence can be the second way to do it.
The first input will be your Segment and the second input will be the Transform operator with an exposed X size parameter (Enable Override Fixed Size). Input dot can remain empty and it will act as you connected the Empty Null Segment node.
The expression for the size is the same as for the previous one, just connect it to X Fixed Size.