Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CheckBox margings are different for LabelPosition Before & After #296

Closed
enisn opened this issue Sep 8, 2022 · 0 comments · Fixed by #328
Closed

CheckBox margings are different for LabelPosition Before & After #296

enisn opened this issue Sep 8, 2022 · 0 comments · Fixed by #328
Labels
bug Something isn't working target-MAUI

Comments

@enisn
Copy link
Owner

enisn commented Sep 8, 2022

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

Steps to reproduce

  • Add following XAML to a page:
        <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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working target-MAUI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant