From 9ee89b7ce5088711037f50fcb7d9cedbeaa07680 Mon Sep 17 00:00:00 2001 From: Dong Bin Date: Wed, 3 Sep 2025 17:22:46 +0800 Subject: [PATCH] test: fix measure test. --- .../Controls/PanelTests/WrapPanelWithTrailingItemTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/HeadlessTest.Ursa/Controls/PanelTests/WrapPanelWithTrailingItemTests.cs b/tests/HeadlessTest.Ursa/Controls/PanelTests/WrapPanelWithTrailingItemTests.cs index d4a39bc..76d5224 100644 --- a/tests/HeadlessTest.Ursa/Controls/PanelTests/WrapPanelWithTrailingItemTests.cs +++ b/tests/HeadlessTest.Ursa/Controls/PanelTests/WrapPanelWithTrailingItemTests.cs @@ -112,7 +112,7 @@ public class WrapPanelWithTrailingItemTests { Height = 1000, Width = 1000, VerticalContentAlignment = VerticalAlignment.Stretch }; - var panel = new WrapPanelWithTrailingItem(); + var panel = new WrapPanelWithTrailingItem() { TrailingWrapWidth = 30 }; var child1 = new Button { Content = "Button 1", Width = 200, Height = 100 }; var child2 = new Button { Content = "Button 2", Width = 300, Height = 100 }; var trailing = new Button