mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
Added verticalMargin accessor to CPCollectionView.
This commit is contained in:
1 parent
9295e2436d
commit
66bbfbbb3c
1 file changed
+14
@@ -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
|
||||
|
||||
Reference in new issue
Block a user