mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:07:38 +00:00
use proper class check instead of quick and dirty size check for flexible space property
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29500 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2da78331b1
commit
a80bd6c0d6
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2010-02-07 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSToolbarItem.m (_isFlexibleSpace): use proper class check
|
||||
instead of quick and dirty size check for flexible space property.
|
||||
Otherwise items are not allowed to have differing minimum and maximum
|
||||
sizes.
|
||||
|
||||
2010-02-06 Quentin Mathe <quentin.mathe@gmail.com>
|
||||
|
||||
Fixed table header/content random disappearance with unarchived table
|
||||
|
|
|
@ -1472,7 +1472,7 @@ NSString *GSMovableToolbarItemPboardType = @"GSMovableToolbarItemPboardType";
|
|||
|
||||
- (BOOL) _isFlexibleSpace
|
||||
{
|
||||
return (_minSize.width != _maxSize.width);
|
||||
return [self isKindOfClass:[GSToolbarFlexibleSpaceItem class]];
|
||||
}
|
||||
|
||||
- (BOOL) _selectable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue