diff --git a/AetherBags/Addons/AddonInventoryWindow.cs b/AetherBags/Addons/AddonInventoryWindow.cs index c005e46..2f67fd4 100644 --- a/AetherBags/Addons/AddonInventoryWindow.cs +++ b/AetherBags/Addons/AddonInventoryWindow.cs @@ -44,7 +44,7 @@ public class AddonInventoryWindow : NativeAddon { Position = ContentStartPosition, Size = ContentSize, - ItemSpacing = CategorySpacing, + HorizontalSpacing = CategorySpacing, VerticalSpacing = CategorySpacing, TopPadding = 4.0f, BottomPadding = 4.0f, diff --git a/AetherBags/Nodes/WrappingGridNode.cs b/AetherBags/Nodes/WrappingGridNode.cs index 5e2629a..f0e0efd 100644 --- a/AetherBags/Nodes/WrappingGridNode.cs +++ b/AetherBags/Nodes/WrappingGridNode.cs @@ -9,6 +9,7 @@ namespace AetherBags.Nodes; public sealed class WrappingGridNode : LayoutListNode where T : NodeBase { + public float HorizontalSpacing { get; set; } = 10f; public float VerticalSpacing { get; set; } = 10f; public float TopPadding { get; set; } = 0f; @@ -50,7 +51,7 @@ public sealed class WrappingGridNode : LayoutListNode where T : NodeBase _rowIndex.EnsureCapacity(count); float availableWidth = Width; - float hSpace = ItemSpacing; + float hSpace = HorizontalSpacing; float vSpace = VerticalSpacing; float startX = FirstItemSpacing;