enisn / Xamarin.Forms.InputKit

CheckBox, Radio Button, Labeled Slider, Dropdowns etc.
MIT License
584 stars 98 forks source link

CheckBox margings are different for LabelPosition Before & After #296

Closed enisn closed 1 year ago

enisn commented 1 year ago

CheckBox has a good margin when LabelPosition is After. But there is noı margin when LabelPosition is Before

Steps to reproduce

        <StackLayout MaximumWidthRequest="400">
            <material:CheckBox Text="Option 1" />
            <material:CheckBox Text="Option 2" />
            <material:CheckBox Text="Option 3 (Disabled)" IsDisabled="True" />

            <BoxView />

            <material:CheckBox Text="Option 1" LabelPosition="Before" />
            <material:CheckBox Text="Option 2" LabelPosition="Before" />
            <material:CheckBox Text="Option 3 (IsEnabled: false)" IsEnabled="False" LabelPosition="Before" />
            <material:CheckBox Text="Option 4 (IsDisabled: true)" IsDisabled="True" LabelPosition="Before" />
        </StackLayout>

checkbox-margins