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


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

bug #22323: NSTextView resized after setAlignment

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

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>
Project MemberIn charge of this item.
Tue 12 Aug 2008 09:12:22 PM UTC, comment #1:

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

Fred Kiefer <FredKiefer>
Project MemberIn charge of this item.
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_>
Project Member


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)

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

    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.3