mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 12:10:47 +00:00
Fix resize issue with flow
This commit is contained in:
parent
2246da3d0e
commit
9c1aec70e7
2 changed files with 14 additions and 10 deletions
|
@ -29,6 +29,17 @@
|
|||
|
||||
#import "GSGuiPrivate.h"
|
||||
|
||||
@interface NSCollectionView (__FlowLayoutPrivate__)
|
||||
- (void) _setFrameWithoutTile: (NSRect)f;
|
||||
@end
|
||||
|
||||
@implementation NSCollectionView (__FlowLayoutPrivate__)
|
||||
- (void) _setFrameWithoutTile: (NSRect)f
|
||||
{
|
||||
_frame = f;
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation NSCollectionViewFlowLayoutInvalidationContext
|
||||
|
||||
- (instancetype) init
|
||||
|
@ -448,7 +459,7 @@
|
|||
if (y + h > vf.size.height)
|
||||
{
|
||||
vf.size.height = y + h;
|
||||
// [_collectionView setFrame: vf];
|
||||
[_collectionView _setFrameWithoutTile: vf];
|
||||
}
|
||||
|
||||
// Build attrs object...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue