From b238d75359853766a4b2ca6494d9549d0d23fe80 Mon Sep 17 00:00:00 2001 From: Roman Shapiro Date: Mon, 23 Oct 2023 16:57:54 +0700 Subject: [PATCH] Yet another small fix --- src/Myra/Graphics2D/UI/Properties/CollectionEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Myra/Graphics2D/UI/Properties/CollectionEditor.cs b/src/Myra/Graphics2D/UI/Properties/CollectionEditor.cs index 4d5d37bc..f0ef1d9b 100644 --- a/src/Myra/Graphics2D/UI/Properties/CollectionEditor.cs +++ b/src/Myra/Graphics2D/UI/Properties/CollectionEditor.cs @@ -23,6 +23,7 @@ public CollectionEditor(IList collection, Type type) InternalChild.Widgets.Add(new HorizontalSeparator()); var splitPanel = new HorizontalSplitPane(); + StackPanel.SetProportionType(splitPanel, ProportionType.Fill); _listItems = new ListBox { @@ -38,7 +39,6 @@ public CollectionEditor(IList collection, Type type) _listItems.Items.Add(new ListItem(BuildItemText(item), null, item)); } - StackPanel.SetProportionType(_listItems, ProportionType.Fill); splitPanel.Widgets.Add(_listItems); _propertyGrid = new PropertyGrid();