I am using the SfStepProgressBar, I have customized my StepStyles where the markersize of 'Completed' is set to 16 but the markersize of 'InProgress' and 'NotStarted' is being set to 10. This all works fine, however, when doing this the Primary text of the smaller markers is not aligned with the bigger markers.. How can I achieve this?
I know I could make the border transparent but that would also cause the progress/track line not to be attached to the markers itself. Is there any other way to achieve the vertical alignment?
Example where the text is not aligned:
The XAML:
<sfprogressBar:SfStepProgressBar
HorizontalOptions="CenterAndExpand"
Orientation="Horizontal"
VerticalOptions="Center">
<sfprogressBar:SfStepProgressBar.NotStartedStepStyle>
<sfprogressBar:StepStyle
x:TypeArguments="sfprogressBar:NotStartedStepState"
MarkerContentFillColor="White"
MarkerContentSize="8"
MarkerContentType="Dot"
MarkerShapeType="Circle"
MarkerSize="10"
MarkerStrokeColor="#3557B880"
MarkerStrokeWidth="2"
TrackColor="#3557B880" />
</sfprogressBar:SfStepProgressBar.NotStartedStepStyle>
<sfprogressBar:SfStepProgressBar.InProgressStepStyle>
<sfprogressBar:StepStyle
x:TypeArguments="sfprogressBar:InProgressStepState"
MarkerContentFillColor="White"
MarkerContentSize="8"
MarkerContentType="Dot"
MarkerShapeType="Circle"
MarkerSize="10"
MarkerStrokeColor="#57B880"
MarkerStrokeWidth="2"
TrackColor="#57B880" />
</sfprogressBar:SfStepProgressBar.InProgressStepStyle>
<sfprogressBar:SfStepProgressBar.CompletedStepStyle>
<sfprogressBar:StepStyle
x:TypeArguments="sfprogressBar:CompletedStepState"
MarkerContentFillColor="White"
MarkerContentSize="10"
MarkerContentType="Tick"
MarkerFillColor="#57B880"
MarkerShapeType="Circle"
MarkerSize="16"
MarkerStrokeColor="#57B880"
ProgressLineColor="#57B880" />
</sfprogressBar:SfStepProgressBar.CompletedStepStyle>
<sfprogressBar:StepView PrimaryText="Step 1" />
<sfprogressBar:StepView PrimaryText="Step 2" />
<sfprogressBar:StepView PrimaryText="Step 3" />
<sfprogressBar:StepView PrimaryText="Step 4" Status="InProgress" />
<sfprogressBar:StepView PrimaryText="Step 5" />
</sfprogressBar:SfStepProgressBar>
Thank you for the quick response. I will await the fix :)