Vertical Layout align Labels or Text to Right or END

I have a verticallayout of labels or text, I want to align the text to the right, or END as I understood, I tried these 3 methods without success.

The photo you can see the texts are aligned to left, The texts are already added to the VerticalLayout with code below.


v1.setAlignItems(Alignment.END); 
v1.setDefaultHorizontalComponentAlignment(Alignment.END);        v1.setJustifyContentMode(FlexComponent.JustifyContentMode.END);

image.png

vl.setAlignItems(END) is correct. Ensure that the vl is wide enough so that it takes the full space to align the children on the end.

fond the problem, these labels had SetWidthFull, after I removed it it was aligned correctly.