Re: Mavericks vs Yosemite line spacing
Re: Mavericks vs Yosemite line spacing
- Subject: Re: Mavericks vs Yosemite line spacing
- From: Mike Abdullah <email@hidden>
- Date: Thu, 13 Aug 2015 15:10:13 +0100
Control of vertical alignment is something Cocoa devs have wanted for years. Usually what you end up doing is subclassing NSTextFieldCell to customise the layout/drawing, such that text appears at the desired point.
> On 13 Aug 2015, at 00:56, Trygve Inda <email@hidden> wrote:
>
> I have an NSTextField that is static and has multiple lines. Because of the
> different font used in Yosemite, the line spacing is thicker and when
> running on Yosemite, it requires more vertical space.
>
> Is there a way to align the text to the bottom of the content box, rather
> than the top? Horizontal justification is easy, but I don't see a way to
> force it to be bottom-aligned.
>
> Thanks,
>
> 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