SfCheckbox not obeying Width="AUTO" in grid - is this a bug?

My earlier post re. replacing Switch with SfCheckbox was inaccurate and after more digging I've found the issue is related to the SfCheckbox not obeying the Width="AUTO" when in a grid layout.

Referring to screenshot below the first two lines (A & B) show some controls in a grid with first the ColumnDefinitions having "*" width so spaced evenly and then second with "AUTO" so spaced minimum with last "*" taking up rest as expected. 

Then in the next two lines (C & D) the Switch(s) are replaced with SfCheckbox(s) and the first with "*" works as expected spaced evenly but in the second with "AUTO" the first SfCheckbox takes up most/all of the rest of space so not respecting the "AUTO"

Is this a bug with the SfCheckbox control? Or am I missing something?

Thanks for any help

Derek

Trouble with sreenshot so here's XAML and result

       <Grid x:Name="gridA">
            <Entry x:Name="al1" Grid.Column="0" Text="A1" />
            <Switch x:Name="as1" Grid.Column="1" />
            <Entry x:Name="al2" Grid.Column="2" Text="A2" />
            <Switch x:Name="as2" Grid.Column="3" />
            <Entry x:Name="al3" Grid.Column="4" Text="A3" />
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
            Grid.ColumnDefinitions>
        Grid>
                
        <Grid x:Name="gridB">
            <Entry x:Name="bl1" Grid.Column="0" Text="B1" />
            <Switch x:Name="bs1" Grid.Column="1" />
            <Entry x:Name="bl2" Grid.Column="2" Text="B2" />
            <Switch x:Name="bs2" Grid.Column="3" />
            <Entry x:Name="bl3" Grid.Column="4" Text="B3" />
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="*" />
            Grid.ColumnDefinitions>
        Grid>
                
        <Grid x:Name="gridC">
            <Entry x:Name="cl1" Grid.Column="0" Text="C1" />
            <sync:SfCheckBox x:Name="cs1" Grid.Column="1" Text="CC1"/>
            <Entry x:Name="cl2" Grid.Column="2" Text="C2" />
            <sync:SfCheckBox x:Name="cs2" Grid.Column="3" Text="CC2"/>
            <Entry x:Name="cl3" Grid.Column="4" Text="C3" />
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
            Grid.ColumnDefinitions>
        Grid>
                
        <Grid x:Name="gridD">
            <Entry x:Name="dl1" Grid.Column="0" Text="D1" />
            <sync:SfCheckBox x:Name="ds1" Grid.Column="1" Text="DD1"/>
            <Entry x:Name="dl2" Grid.Column="2" Text="D2" />
            <sync:SfCheckBox x:Name="ds2" Grid.Column="3" Text="DD2"/>
            <Entry x:Name="dl3" Grid.Column="4" Text="D3" />
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="AUTO" />
                <ColumnDefinition Width="*" />
            Grid.ColumnDefinitions>
        Grid>
  



3 Replies

PA Paul Anderson S Syncfusion Team October 12, 2018 09:31 AM UTC

Hi Derek, 
  
Greetings from Syncfusion. 
  
We are able to reproduce the reported issue with SfCheckBox control when Width is set to "Auto" and we have logged defect report for the same. We will fix the issue and will be included in our upcoming Volume 3 SP1 release which will be in the end of this month.[October 2018] 
  
Regards, 
Paul Anderson 



DE Derek October 23, 2018 10:00 AM UTC

Hi Paul,

Just wondered if any release date yet for Volume 3 SP1? And/or pre-release/test option beforehand?

Thanks,

Derek


PA Paul Anderson S Syncfusion Team October 24, 2018 11:59 AM UTC

Hi Derek, 
  
Thanks for the update. Our Volume 3 SP1 will be released by the end of October 2018 [By next week]. We have created a new support incident to have further followups. We will assist you through incident under your Direct Trac account.  
 
Our Direct Trac support system can be accessed from the following link:                              
  
Regards, 
Paul Anderson 


Loader.
Up arrow icon