diff --git a/ChangeLog b/ChangeLog index 0e378b473..67b4b56eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,16 @@ 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 items > 0 instead of > 1 (fixes size problem when there is 1 item in - popup button's menu). + * Source/NSMenuView.m + (setWindowFrameForAttachingToRect:): call sizeToFit only if cell's + frame changed (patch by Michael Hanni). 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. + + * Source/NSMenuItemCell.m + (imageRectForBounds:): removed pad adding between state image and + title image and text, because [NSMenuView sizeToFit] do this. + (titleRectForBounds:): ditto. 2003-03-24 Adam Fedor