• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mavericks vs Yosemite line spacing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Mavericks vs Yosemite line spacing (From: Trygve Inda <email@hidden>)

  • Prev by Date: Re: Another Xcode update, another failure to build.
  • Next by Date: What version of OpenGL bundled in El Capitan?
  • Previous by thread: Mavericks vs Yosemite line spacing
  • Next by thread: Initialisation pattern
  • Index(es):
    • Date
    • Thread