From cfa39c9d0da94eca03884387c592326f251cc7d4 Mon Sep 17 00:00:00 2001 From: Jumar Macato Date: Mon, 29 Oct 2018 21:42:05 +0800 Subject: [PATCH] fix wrongly placed fontfamily parameter --- tests/Avalonia.RenderTests/Controls/TextBlockTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs b/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs index 63e1578145..8a8ed4cb4a 100644 --- a/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs +++ b/tests/Avalonia.RenderTests/Controls/TextBlockTests.cs @@ -25,12 +25,12 @@ namespace Avalonia.Direct2D1.RenderTests.Controls { Decorator target = new Decorator { - FontFamily = new FontFamily("Courier New"), Padding = new Thickness(8), Width = 200, Height = 200, Child = new TextBlock { + FontFamily = new FontFamily("Courier New"), Background = Brushes.Red, FontSize = 12, Foreground = Brushes.Black,