diff --git a/ChangeLog b/ChangeLog index 2da21e34f..385e8faad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-03-27 Michael Hanni + + * 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 * Source/GSFontInfo.m diff --git a/Source/NSPopUpButtonCell.m b/Source/NSPopUpButtonCell.m index 6a328d256..af08c24d4 100644 --- a/Source/NSPopUpButtonCell.m +++ b/Source/NSPopUpButtonCell.m @@ -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); }