diff --git a/AppKit/CPCollectionView.j b/AppKit/CPCollectionView.j index 5ed2673df..0768d9b69 100644 --- a/AppKit/CPCollectionView.j +++ b/AppKit/CPCollectionView.j @@ -559,6 +559,11 @@ // Cappuccino Additions +/*! + Sets the collection view's vertical spacing between elements. + @param aVerticalMargin the number of pixels to place between elements +*/ + - (void)setVerticalMargin:(float)aVerticalMargin { if (_verticalMargin == aVerticalMargin) @@ -569,6 +574,15 @@ [self tile]; } +/*! + Gets the collection view's current vertical spacing between elements. +*/ + +- (float)verticalMargin +{ + return _verticalMargin; +} + /*! Sets the collection view's delegate @param aDelegate the new delegate