bugGNUstep - Bugs: bug #22323, NSTextView resized after...

Group
 
 

bug #22323: NSTextView resized after setAlignment

Submitter:  Fabien VALLON <Fabien_>
Submitted:  Fri 15 Feb 2008 04:30:30 PM UTC
   
 
Category:  Gui/AppKit Severity:  3 - Normal
Item Group:  Bug Status:  None
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 21 Feb 2009 11:47:10 PM UTC, comment #2: 

I tried your test code and it turns out that it isn't the call to setAlignment: that changes the text view size. Even when just starting up the application and only typing in text the view extends to the full size of the window. (or even further?)

I think that this is caused by the setHorizontallyResizable: call in awakeFromNib. As a result the text view tries to adopt to the charcters being entered.

Setting the alignement to right is then just another way of adding a lot of characters :-)
We really should investigate what Apple does in this case.

Fred Kiefer <FredKiefer>
Group Member
Tue 12 Aug 2008 09:12:22 PM UTC, comment #1: 

Did you test this on MacOSX, what is happening there?

Fred Kiefer <FredKiefer>
Group Member
Fri 15 Feb 2008 04:30:30 PM UTC, original submission:  

a NSTextView resize after setAlignment if setVerticallyResizable: and setHorizontallyResizable: are set to YES.

( test attached )

Fabien VALLON <Fabien_>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #15047:  Text.tar.gz added by Fabien_ (2KiB - application/x-gzip - NSTextView resize after setAlignment:)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by Fabien_ (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-02-21 FredKiefer Assigned toNone FredKiefer
    2008-02-15 Fabien_ Attached File- Added Text.tar.gz, #15047

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code