mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 16:51:18 +00:00
NSMenuView.m and NSMenuItemCell.m changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16260 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
61bb2e5abd
commit
c44ad09003
1 changed files with 11 additions and 4 deletions
15
ChangeLog
15
ChangeLog
|
@ -1,9 +1,16 @@
|
||||||
2003-03-25 Serg Stoyan <stoyan@on.com.ua>
|
2003-03-25 Serg Stoyan <stoyan@on.com.ua>
|
||||||
|
|
||||||
* Source/NSMenuView.m (setWindowFrameForAttachingToRect:): call sizeToFit
|
* Source/NSMenuView.m
|
||||||
only if cell's frame changed (patch by Michael Hanni). Compute frame if number
|
(setWindowFrameForAttachingToRect:): call sizeToFit only if cell's
|
||||||
of items > 0 instead of > 1 (fixes size problem when there is 1 item in
|
frame changed (patch by Michael Hanni). Compute frame if number of
|
||||||
popup button's menu).
|
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 <fedor@gnu.org>
|
2003-03-24 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue