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

 
 

You are not allowed to post comments on this tracker with your current authentification 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/AppKitSeverity: 3 - Normal
Item Group: BugStatus: None
Privacy: PublicAssigned 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_ (2kB - 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
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by Fabien_ (Submitted the item)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 21 Feb 2009 11:47:10 PM UTCFredKieferAssigned toNone=>FredKiefer
    Fri 15 Feb 2008 04:30:30 PM UTCFabien_Attached File-=>Added Text.tar.gz, #15047

    Back to the top


    Powered by Savane 3.1-cleanup