EliTheKing
EliTheKing

Reputation: 29

.NET Maui change linewidth of checkbox

I have following XAML code:

<HorizontalStackLayout>
     <CheckBox x:Name="isItemChecked" IsChecked="False" CheckedChanged="CheckBox_CheckedChanged" Color="Blue" ></CheckBox>
     <Label Text="Include Item" FontAttributes="Bold" Padding="5"></Label>
</HorizontalStackLayout>

I'm currently trying to increase the line width of the unchecked checkbox. It seems pretty trivial but it's not that easy to google. (At least I did not find an entry in the official documentation.)

Thanks in advance!

Upvotes: 2

Views: 1341

Answers (1)

Валентин
Валентин

Reputation: 11

Maybe you should use ScaleX and ScaleY property for checkbox. There is an example:

<CheckBox  ScaleX="2" ScaleY="2" />

                               

Upvotes: 1

Related Questions