mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:20:49 +00:00
Changed the layout manager so that it now uses the default font height
rather than a hardcoded 12 when there is no text in the view git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13961 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e7ed1ed865
commit
ef583e1d85
1 changed files with 17 additions and 0 deletions
17
ChangeLog
17
ChangeLog
|
@ -1,3 +1,20 @@
|
|||
Mon Jun 24 13:17:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
Originated by a patch/suggestion by Serg Stoyan
|
||||
<stoyan@on.com.ua>, rewritten by myself.
|
||||
* Source/GSSimpleLayoutManager.m (defaultFontHeight): New static
|
||||
inline function computing the height of the user font of the
|
||||
default size.
|
||||
([-boundingRectForGlyphRange:inTextContainer:]): Use
|
||||
defaultFontHeight() instead of hardcoded 12.
|
||||
([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Idem.
|
||||
([-rectForCharacterIndex:]): Idem.
|
||||
([-rebuildForRange:delta:inTextContainer:]): Idem.
|
||||
([-rebuildForRange:delta:inTextContainer:]): Idem.
|
||||
* Source/NSTextView.m
|
||||
([-updateInsertionPointStateAndRestartTimer:]): Removed unused
|
||||
code setting font size to 12 if it was 0.
|
||||
|
||||
Sat Jun 22 17:26:18 2002 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Source/NSMenuView.m ([-itemAdded:]): Fixed highlighting of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue