bugGNUstep - Bugs: bug #9279, center aligned, editable...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9279: center aligned, editable NSTextFields

Submitted by:  Rob Burns <rburns>
Submitted on:  Wed 09 Jun 2004 09:46:44 PM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Alexander Malmberg <alexm>
Open/Closed: Closed

Thu 11 Nov 2004 02:19:45 PM UTC, comment #1:

Fixed in cvs by:
CVSROOT: /cvsroot/gnustep
Module name: gnustep
Branch:
Changes by: Alexander Malmberg <alexander(at)malmberg(dot)org> 04/11/11 14:10:08

Modified files:
core/gui : ChangeLog
core/gui/Source: NSCell.m NSLayoutManager.m NSTextView.m

Log message:
2004-11-11 15:08 Alexander Malmberg <alexander(at)malmberg(dot)org>

  • Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the

maximum size. Explicitly set the size of the text view, and make it
not resizable.

  • Source/NSLayoutManager.m (-rectArrayForGlyphRange:

withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for
whether the starting index is inside a line frag rect.

  • Source/NSTextView.m (-sizeToFit): Don't increase the size if we

have no inset.
(-updateInsertionPointStateAndRestartTimer:): Force the insertion
point rect to be inside the text view.
(-scrollRangeToVisible:): If we are a non-rich-text field editor,
adjust the scrolling to make the auto-scrolling more useful.

Fixes bug #9279.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2417&tr2=1.2418&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSCell.m.diff?tr1=1.163&tr2=1.164&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSLayoutManager.m.diff?tr1=1.92&tr2=1.93&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Source/NSTextView.m.diff?tr1=1.162&tr2=1.163&r1=text&r2=text

Alexander Malmberg <alexm>
Project MemberIn charge of this item.
Wed 09 Jun 2004 09:46:44 PM UTC, original submission:

when text in a center aligned, editable text field is displayed, it is centered. but, while editing it is right aligned. The text is shifted left as you type. With the latin alphabet this works, even if visually not very appealing. With other alphabets (Thai in this case), not every letter will cause the string to shift left, because the character is placed on top or bottom of the previous one, rather than to the right. consequently, you can't see what you are typing.

Rob Burns <rburns>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 11 Nov 2004 02:19:45 PM UTCalexmStatusNone=>Fixed
  Assigned toNone=>alexm
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1