Revert property unification for clarity
This commit is contained in:
@@ -44,7 +44,7 @@ public class AddonInventoryWindow : NativeAddon
|
|||||||
{
|
{
|
||||||
Position = ContentStartPosition,
|
Position = ContentStartPosition,
|
||||||
Size = ContentSize,
|
Size = ContentSize,
|
||||||
ItemSpacing = CategorySpacing,
|
HorizontalSpacing = CategorySpacing,
|
||||||
VerticalSpacing = CategorySpacing,
|
VerticalSpacing = CategorySpacing,
|
||||||
TopPadding = 4.0f,
|
TopPadding = 4.0f,
|
||||||
BottomPadding = 4.0f,
|
BottomPadding = 4.0f,
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ namespace AetherBags.Nodes;
|
|||||||
|
|
||||||
public sealed class WrappingGridNode<T> : LayoutListNode where T : NodeBase
|
public sealed class WrappingGridNode<T> : LayoutListNode where T : NodeBase
|
||||||
{
|
{
|
||||||
|
public float HorizontalSpacing { get; set; } = 10f;
|
||||||
public float VerticalSpacing { get; set; } = 10f;
|
public float VerticalSpacing { get; set; } = 10f;
|
||||||
|
|
||||||
public float TopPadding { get; set; } = 0f;
|
public float TopPadding { get; set; } = 0f;
|
||||||
@@ -50,7 +51,7 @@ public sealed class WrappingGridNode<T> : LayoutListNode where T : NodeBase
|
|||||||
_rowIndex.EnsureCapacity(count);
|
_rowIndex.EnsureCapacity(count);
|
||||||
|
|
||||||
float availableWidth = Width;
|
float availableWidth = Width;
|
||||||
float hSpace = ItemSpacing;
|
float hSpace = HorizontalSpacing;
|
||||||
float vSpace = VerticalSpacing;
|
float vSpace = VerticalSpacing;
|
||||||
float startX = FirstItemSpacing;
|
float startX = FirstItemSpacing;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user