summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues
diff options
context:
space:
mode:
authorPaul DiPietro <pauldipietro@users.noreply.github.com>2017-10-18 14:56:24 (GMT)
committerRui Marinho <me@ruimarinho.net>2017-10-18 14:59:42 (GMT)
commit71b323bf9d9617e1a4c0f8609ee7945e1eb6dfc3 (patch)
tree5bc29c29464c5155b71fbe9f6dc9dff1be8c1403 /Xamarin.Forms.Controls.Issues
parent96325698b80511cf549b0cb1455373d7e0011ff0 (diff)
downloadxamarin-forms-71b323bf9d9617e1a4c0f8609ee7945e1eb6dfc3.zip
xamarin-forms-71b323bf9d9617e1a4c0f8609ee7945e1eb6dfc3.tar.gz
xamarin-forms-71b323bf9d9617e1a4c0f8609ee7945e1eb6dfc3.tar.bz2
[UWP] Inherit from Panel on WrapperControl (#1204)
* [UWP] Inherit from Panel on WrapperControl * Fix typo
Diffstat (limited to 'Xamarin.Forms.Controls.Issues')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla60056.cs38
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems2
2 files changed, 40 insertions, 0 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla60056.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla60056.cs
new file mode 100644
index 0000000..a0177e9
--- /dev/null
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla60056.cs
@@ -0,0 +1,38 @@
+´╗┐using Xamarin.Forms.CustomAttributes;
+using Xamarin.Forms.Internals;
+
+#if UITEST
+using Xamarin.UITest;
+using NUnit.Framework;
+#endif
+
+namespace Xamarin.Forms.Controls.Issues
+{
+ [Preserve(AllMembers = true)]
+ [Issue(IssueTracker.Bugzilla, 60056, "[UWP] ViewCell ignores margins of it's child", PlatformAffected.UWP)]
+ public class Bugzilla60056 : TestContentPage
+ {
+ protected override void Init()
+ {
+ Content = new ListView
+ {
+ ItemsSource = new string[] { "A", "B", "C" },
+ ItemTemplate = new DataTemplate(() =>
+ {
+ return new ViewCell
+ {
+ View = new StackLayout
+ {
+ Margin = 20,
+ Children =
+ {
+ new Label { Text = "I should be indented" },
+ new Button { Margin = 5, Text = "I should be further indented" }
+ }
+ }
+ };
+ })
+ };
+ }
+ }
+} \ No newline at end of file
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
index c9df377..d9650e5 100644
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
@@ -221,6 +221,8 @@
<Compile Include="$(MSBuildThisFileDirectory)Bugzilla51427.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Bugzilla59248.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Bugzilla59580.cs" />
+ <Compile Include="$(MSBuildThisFileDirectory)Bugzilla60056.cs" />
+ <Compile Include="$(MSBuildThisFileDirectory)Bugzilla60122.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Bugzilla59863_0.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Bugzilla59863_1.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Bugzilla59863_2.cs" />