From ab6a45914f76c080dc1d805ff3f856740f5874d6 Mon Sep 17 00:00:00 2001 From: Steven Kirk Date: Fri, 19 Dec 2014 13:27:34 +0100 Subject: [PATCH] Fixed BorderTests. --- .../Controls/BorderTests.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Windows/Perspex.Direct2D1.RenderTests/Controls/BorderTests.cs b/Windows/Perspex.Direct2D1.RenderTests/Controls/BorderTests.cs index 42925039c5..f3e2ca733e 100644 --- a/Windows/Perspex.Direct2D1.RenderTests/Controls/BorderTests.cs +++ b/Windows/Perspex.Direct2D1.RenderTests/Controls/BorderTests.cs @@ -162,6 +162,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, HorizontalAlignment = HorizontalAlignment.Center, } } @@ -187,6 +189,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, VerticalAlignment = VerticalAlignment.Center, } } @@ -212,6 +216,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, HorizontalAlignment = HorizontalAlignment.Stretch, } } @@ -237,6 +243,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, VerticalAlignment = VerticalAlignment.Stretch, } } @@ -262,6 +270,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, HorizontalAlignment = HorizontalAlignment.Left, } } @@ -287,6 +297,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, HorizontalAlignment = HorizontalAlignment.Right, } } @@ -312,6 +324,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, VerticalAlignment = VerticalAlignment.Top, } } @@ -337,6 +351,8 @@ namespace Perspex.Direct2D1.RenderTests.Controls { Text = "Foo", Background = Brushes.Red, + FontFamily = "Segoe UI", + FontSize = 12, VerticalAlignment = VerticalAlignment.Bottom, } }