--- /dev/null
+<?xml version="1.0" encoding="utf-8" ?>
+<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
+ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
+ xmlns:d="http://xamarin.com/schemas/2014/forms/design"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ mc:Ignorable="d"
+ x:Class="Xamarin.Forms.Controls.Issues.Issue7048">
+ <ContentPage.Content>
+ <StackLayout VerticalOptions="Center">
+ <StackLayout Orientation="Horizontal" HorizontalOptions="Center">
+ <CheckBox BackgroundColor="Silver"/>
+ <Label Text="CheckBox" VerticalOptions="Center" />
+ </StackLayout>
+ </StackLayout>
+ </ContentPage.Content>
+</ContentPage>
\ No newline at end of file
--- /dev/null
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+using Xamarin.Forms;
+using Xamarin.Forms.Xaml;
+using Xamarin.Forms.CustomAttributes;
+using Xamarin.Forms.Internals;
+
+namespace Xamarin.Forms.Controls.Issues
+{
+#if APP
+ [Preserve(AllMembers = true)]
+ [Issue(IssueTracker.Github, 7048, "[Bug][UWP] CheckBox Has Incosistent Paddings",
+ PlatformAffected.UWP)]
+ [XamlCompilation(XamlCompilationOptions.Compile)]
+ public partial class Issue7048 : ContentPage
+ {
+ public Issue7048()
+ {
+ InitializeComponent();
+ }
+ }
+#endif
+}
\ No newline at end of file
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)Issue5868.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Issue6963.cs" />
+ <Compile Include="$(MSBuildThisFileDirectory)Issue7048.xaml.cs">
+ <DependentUpon>Issue7048.xaml</DependentUpon>
+ <SubType>Code</SubType>
+ </Compile>
<Compile Include="$(MSBuildThisFileDirectory)Issue7253.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Issue7621.xaml.cs">
<SubType>Code</SubType>
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup>
-</Project>
+ <ItemGroup>
+ <EmbeddedResource Include="$(MSBuildThisFileDirectory)Issue7048.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </EmbeddedResource>
+ </ItemGroup>
+</Project>
\ No newline at end of file
<Setter Property="VerticalContentAlignment" Value="Top"/>
<Setter Property="FontFamily" Value="{ThemeResource ContentControlThemeFontFamily}"/>
<Setter Property="FontSize" Value="{ThemeResource ControlContentThemeFontSize}"/>
- <Setter Property="MinWidth" Value="120"/>
+ <Setter Property="MinWidth" Value="32"/>
<Setter Property="MinHeight" Value="32"/>
<Setter Property="UseSystemFocusVisuals" Value="True"/>
<Setter Property="FocusVisualMargin" Value="-7,-3,-7,-3"/>