FontColor and SelectionTextColor not shown

I just updated from 18.4.0.42 to 18.4.0.43 and now my sfSegmentedControl doesn't show any text. The border and selection indicator are the correct colors based on the xaml, which I am including here

<buttons:SfSegmentedControl SelectedIndex="{Binding MeterCount, Mode=TwoWay}" VisibleSegmentsCount="7"
Grid.Row="1" HorizontalOptions="FillAndExpand" Margin="8" FontColor="{StaticResource AccentColor}"
BorderThickness="2" SegmentCornerRadius="10" DisplayMode="Text"
SelectionTextColor="White" DisabledTextColor="{StaticResource AccentColor}" BorderColor="{StaticResource AccentColor}">
<buttons:SfSegmentedControl.SelectionIndicatorSettings>
<buttons:SelectionIndicatorSettings Color="{StaticResource AccentColor}" />
</buttons:SfSegmentedControl.SelectionIndicatorSettings>
<sys:List x:TypeArguments="x:String">
<x:String>0</x:String>
<x:String>1</x:String>
<x:String>2</x:String>
<x:String>3</x:String>
<x:String>4</x:String>
<x:String>5</x:String>
<x:String>6</x:String>
</sys:List>
</buttons:SfSegmentedControl>

I am attaching a screenshot of what it looks like

Attachment: screenshot1613500136470.jpg_de500ef6.zip

4 Replies 1 reply marked as answer

MA Martin February 17, 2021 11:05 AM UTC

I have the same problem since updating to 18.4.0.43. The issue, at least in my case, seems to be exclusive to Android devices, since I don't have the same problem on iOS.

In my case the styling is done mostly by a default style

      <Style x:Key="baseSegmentedControlStyle" TargetType="sfButtons:SfSegmentedControl">
        <Setter Property="BorderColor" Value="{DynamicResource Primary}" />
        <Setter Property="SelectionTextColor" Value="{DynamicResource OnPrimary}" />
        <Setter Property="FontColor" Value="{DynamicResource Primary}" />
        <Setter Property="SegmentHeight" Value="40" />
     
      </Style>



CH Chris Henry February 17, 2021 02:45 PM UTC

I haven't tried on iOS, as Android is our primary app audience. The Xamarin.Forms + Syncfusion version combo that seems to work is 5.0.0.1905 and 18.4.0.35. I don't really have the time to fool with all the different combinations of XF and SF between those versions and the current versions, so I will stay with this combination for now.


RS Ruba Shanmugam Syncfusion Team February 17, 2021 03:51 PM UTC

Hi Chris,

Thank you for using Syncfusion product.

Sorry for the inconvenience. We have checked the reported issue with the latest Nuget and we could able to reproduce the same and we have fixed the reported issue. Please find the assembly from link below.

Assembly Version: 18.4.0.43

Disclaimer:  Please note that we have created this patch for the version v18.4.0.43 specifically to resolve the issue reported in this incident.

Assembly: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SegmentVisibleIssueAssembly-1072157168

Currently we have patch support only to the main and service pack release version, not for weekly Nuget release. So only provided a assembly with 18.4.0.43  version.

Note: Please refer the below link to apply the custom assembly 
 
https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget   

Currently we have patch support only to the main and service pack release version, not for weekly nuget release. So only provided a assembly with 18.4.0.43 version.

This fix will be included in our upcoming weekly release which is expected to rolled out on February 23, 2020.

Could you please check this fix with your application and let us know, whether the issue is resolved or not.

Regards,
Ruba Shanmugam


RS Ruba Shanmugam Syncfusion Team February 23, 2021 10:48 AM UTC

Hi Chris,

We appreciate your patience.

We have included the fix in our latest Weekly NuGet release v18.4.0.44 which is available for download (https://www.nuget.org/). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Ruba Shanmugam


Marked as answer
Loader.
Up arrow icon