Small fix to NSPopUpButtonCell.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16564 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
michael 2003-04-27 20:37:29 +00:00
parent 0c09f264fc
commit 05a7f146d9
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2003-03-27 Michael Hanni <michael@deviant-behavior.com>
* Source/NSPopUpButtonCell.m (drawWithFrame:inView:): added a call
to the NSMenuItemCell's calcSize method to place the image
correctly when we are making a temp item. Fixes regression
prompted by changes on 2003-04-17.
2003-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSFontInfo.m

View file

@ -536,6 +536,9 @@ static NSImage *_pbc_image[2];
*/
[aCell setMenuView: [_menu menuRepresentation]];
/* We need to calc our size to get images placed correctly */
[aCell calcSize];
RELEASE(anItem);
}