From 6bbae51e2686b0c8dbe3f7723bc063cb1237dee6 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Tue, 25 Aug 2015 23:52:31 +0200 Subject: [PATCH] Fix failing tests. --- Tests/Perspex.Layout.UnitTests/FullLayoutTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/Perspex.Layout.UnitTests/FullLayoutTests.cs b/Tests/Perspex.Layout.UnitTests/FullLayoutTests.cs index 1fe9cd3c73..033d047068 100644 --- a/Tests/Perspex.Layout.UnitTests/FullLayoutTests.cs +++ b/Tests/Perspex.Layout.UnitTests/FullLayoutTests.cs @@ -39,6 +39,7 @@ namespace Perspex.Layout.UnitTests var window = new Window() { + SizeToContent = SizeToContent.WidthAndHeight, Content = border = new Border { HorizontalAlignment = HorizontalAlignment.Center, @@ -79,6 +80,7 @@ namespace Perspex.Layout.UnitTests { Width = 800, Height = 600, + SizeToContent = SizeToContent.WidthAndHeight, Content = scrollViewer = new ScrollViewer { Width = 200,