Skip to content

Commit

Permalink
layout tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed May 31, 2024
1 parent 6c8ecd1 commit 397e007
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public override VisualElement CreateInspectorGUI()
listField.OnInitialGeometry(() =>
{
var list = listField.Q<ListView>();
list.makeItem = () => new BindableElement() { style = { marginRight = 2 }};
list.makeItem = () => new BindableElement() { style = { marginRight = 4 }};
list.bindItem = (ux, index) =>
{
// Remove children - items get recycled
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public override VisualElement CreateInspectorGUI()
{
var list = listField.Q<ListView>();
list.makeItem = () => new BindableElement() { style = { flexDirection = FlexDirection.Row }};
list.makeItem = () => new BindableElement() { style = { flexDirection = FlexDirection.Row, marginRight = 4 }};
list.bindItem = (ux, index) =>
{
// Remove children - items get recycled
Expand Down

0 comments on commit 397e007

Please sign in to comment.