We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

16.4.0.53 doesnt work without width and height

if i dont use a fix width or height like below. buttons:SfSegmentedControl  is not displayed correctly in the latest version 16.4.0.53. it works in earlier versions just fine.

 <buttons:SfSegmentedControl   VerticalOptions="Fill"   SelectionChanged="segmentedControl_SelectionChanged" SelectedIndex="{Binding SelectedDatetype, Mode=OneWay}"
    x:Name="segmentedControl" Margin="10,10,10,0"  CornerRadius="15" BorderColor="#048EAC"       DisplayMode="Text" 
    VisibleSegmentsCount="4"   FontColor="Black"  HorizontalOptions="Center"  ItemsSource="{Binding Datetypes}"   Color="{OnIdiom Phone=#048EAC, Tablet=#048EAC, Default=White}" SelectionTextColor="{OnIdiom Phone=White, Tablet=White, Default=Black}">

            <buttons:SfSegmentedControl.SelectionIndicatorSettings>
                <buttons:SelectionIndicatorSettings 
                       Position="Fill">
                </buttons:SelectionIndicatorSettings>
            </buttons:SfSegmentedControl.SelectionIndicatorSettings>
        </buttons:SfSegmentedControl>

1 Reply

DR Dhanasekar R Syncfusion Team February 20, 2019 12:53 PM UTC

Hi Emil, 
 
Greetings from Syncfusion. 
 
We have could not reproduce the reported issue "16.4.0.53 doesnt work without width and height" on SfSegmentedControl. We have prepared a sample from the code snippet provided on your previous update and also we have took the output image on each platform. Please download the sample and image from the link give below. 
 
 
If the issue get reproduced at your end, please update us with modified sample, which will be helpful for us to provide better solution on this. 
 
Regards, 
Dhanasekar 


Loader.
Live Chat Icon For mobile
Up arrow icon