RE: NSTextFields will not fully justify in 10.11
RE: NSTextFields will not fully justify in 10.11
- Subject: RE: NSTextFields will not fully justify in 10.11
- From: Lee Ann Rucker <email@hidden>
- Date: Sun, 24 Jan 2016 09:56:53 +0000
- Thread-topic: NSTextFields will not fully justify in 10.11
If it's autolayout, double-check it, especially the priorities; it might be hugging more than you expect. What does the UI layout debugger show? I've found some layout surprises that way.
________________________________________
From: cocoa-dev-bounces+lrucker=email@hidden [cocoa-dev-bounces+lrucker=email@hidden] on behalf of Trygve Inda [email@hidden]
Sent: Saturday, January 23, 2016 11:38 PM
To: Jens Alfke
Cc: Cocoa-Dev List
Subject: Re: NSTextFields will not fully justify in 10.11
>
>> On Jan 23, 2016, at 7:44 PM, Trygve Inda <email@hidden> wrote:
>>
>> When running in 10.11, my fully justified text fields are no longer so...
>> They are left justified only.
>>
>> Is there a fix for this?
>
> Use an NSTextView instead? It’s generally better to use that class when the
> user might enter more than a line or two of text, since it has more features
> (scrollbars, preserving selection when it loses focus, etc.)
>
> —Jens
These are static text fields (for copyright text which is several lines).
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden