I'm using horizontal layout UI component to create markers on a slider. What I currently have is the following:
View attachment 213929
However, I would like the markers to start from the beginning and the end of the slider to achieve following:
View attachment 213930
I can do this by altering the spacing variable of the horizontal layout. However, if the amount of markers can change, the spacing value has to be recalculated somehow.
How can I achieve this? Does someone have...
Horizontal layout - fit the view
View attachment 213929
However, I would like the markers to start from the beginning and the end of the slider to achieve following:
View attachment 213930
I can do this by altering the spacing variable of the horizontal layout. However, if the amount of markers can change, the spacing value has to be recalculated somehow.
How can I achieve this? Does someone have...
Horizontal layout - fit the view