Re: Mavericks vs Yosemite line spacing

2015-08-13 Thread Mike Abdullah
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 cocoa...@xericdesign.com 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 (Cocoa-dev@lists.apple.com)
 
 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:
 https://lists.apple.com/mailman/options/cocoa-dev/mabdullah%40karelia.com
 
 This email sent to mabdul...@karelia.com


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Mavericks vs Yosemite line spacing

2015-08-12 Thread Trygve Inda
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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com