mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
NSMenuView.m: fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16197 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
15a1fb917c
commit
ab062e79c7
1 changed files with 14 additions and 0 deletions
14
ChangeLog
14
ChangeLog
|
@ -1,3 +1,17 @@
|
|||
2003-03-18 Serg Stoyan <stoyan@on.com.ua>
|
||||
|
||||
* Source/NSMenuView.m
|
||||
([NSMenuTitleView titleSize]): Added.
|
||||
([NSMenuTitleView drawRect:]): Switch to using titleSize:. Declaration
|
||||
of attr variable moved to class declaration.
|
||||
([NSMenuTitleView init]): Added to initialize attr variable.
|
||||
(sizeToFit): Count missed state image offset. Do not add padding when
|
||||
there's no key equivalent. Handle situations when tile view wider than
|
||||
menu items, when there's no menu items and so on. (Side efect: menu of
|
||||
application in Gorm resizes correctly while changing title, adding
|
||||
shorcut etc.). Using [NSMenuTitleView titleSize] now for correct
|
||||
determination of menu title's text width.
|
||||
|
||||
2003-03-17 Serg Stoyan <stoyan@on.com.ua>
|
||||
|
||||
* Source/NSMenuView.m
|
||||
|
|
Loading…
Reference in a new issue