mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-24 06:28:54 +00:00
* Source/NSToolbarItem.m (-setView:): Only set the min/max size of
the toolbar item when it was zero. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ea29572c2
commit
664d8a24c1
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-05-17 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSToolbarItem.m (-setView:): Only set the min/max size of
|
||||
the toolbar item when it was zero.
|
||||
|
||||
2010-05-17 04:36-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Source/NSApplication.m: Attempt to open files from the command
|
||||
|
|
|
@ -1386,8 +1386,10 @@ NSString *GSMovableToolbarItemPboardType = @"GSMovableToolbarItemPboardType";
|
|||
NSSize size;
|
||||
|
||||
size = [view frame].size;
|
||||
[self setMinSize: size];
|
||||
[self setMaxSize: size];
|
||||
if (NSEqualSizes(NSZeroSize, _minSize))
|
||||
[self setMinSize: size];
|
||||
if (NSEqualSizes(NSZeroSize, _maxSize))
|
||||
[self setMaxSize: size];
|
||||
|
||||
[_view setToolTip: _toolTip];
|
||||
|
||||
|
|
Loading…
Reference in a new issue