diff --git a/ChangeLog b/ChangeLog index 67b4b56eb..05a46c74b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,16 +1,22 @@ 2003-03-25 Serg Stoyan * Source/NSMenuView.m - (setWindowFrameForAttachingToRect:): call sizeToFit only if cell's - frame changed (patch by Michael Hanni). Compute frame if number of + (setWindowFrameForAttachingToRect:):Compute frame if number of items > 0 instead of > 1 (fixes size problem when there is 1 item in popup button's menu). - (sizeToFit): optimized and fixed offset calculation. + (sizeToFit): optimized and fixed offsets calculation. * Source/NSMenuItemCell.m (imageRectForBounds:): removed pad adding between state image and - title image and text, because [NSMenuView sizeToFit] do this. + title image and text, because [NSMenuView sizeToFit] does this. (titleRectForBounds:): ditto. + +2003-03-25 Michael Hanni + + * Source/NSMenuView.m (-trackWithEvent:): reset highlighted items in a + submenu that we leave for a supermenu. + (setWindowFrameForAttachingToRect:): call sizeToFit only if cell's + frame changed. 2003-03-24 Adam Fedor