Skip to content

Commit

Permalink
Yet another small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rds1983 committed Oct 23, 2023
1 parent e37aba7 commit b238d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Myra/Graphics2D/UI/Properties/CollectionEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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();
Expand Down

0 comments on commit b238d75

Please sign in to comment.