This commit is contained in:
Johnathan Becker 2024-11-15 12:36:08 -07:00
parent 7d477230ec
commit 299af29885
No known key found for this signature in database

View file

@ -688,7 +688,7 @@ static NSString *_placeholderItem = nil;
NSRect itemFrame = NSMakeRect (0,0,0,0);
NSInteger index;
NSUInteger count = [_items count];
CGFloat x = 0;
CGFloat x = _horizontalMargin;
CGFloat y = -_itemSize.height;
if (_maxNumberOfColumns > 0 && _maxNumberOfRows > 0)
@ -700,7 +700,7 @@ static NSString *_placeholderItem = nil;
{
if (index % _numberOfColumns == 0)
{
x = 0;
x = _horizontalMargin;
y += _verticalMargin + _itemSize.height;
}