• 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: Text like the window title of iPhoto 6 : how ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text like the window title of iPhoto 6 : how ?


  • Subject: Re: Text like the window title of iPhoto 6 : how ?
  • From: Ryan Britton <email@hidden>
  • Date: Mon, 6 Mar 2006 13:35:13 -0800

You may have trouble doing that. I believe that will require you to set the title using an attributed string, which is not currently possible with the NSWindow API. There was a question on the list recently about setting the truncation mode, which also requires an attributed string, and it ended at that point.




On Mar 6, 2006, at 1:27 PM, Eric Morand wrote:

You're perfectly right !

Thanks to both of you for your help ! I'm going to have good times playing whith NSShadow now... :o)



Le 6 mars 06 à 22:24, David Rice a écrit :


On 6-Mar-06, at 4:14 PM, Uli Kusterer wrote:

On 06.03.2006, at 21:11, Eric Morand wrote:
I love the way the title of the iPhoto 6 window is displayed : it seems to be "inserted" in the title bar (sorry, I can't find the correct word for "inserted"). Do someone know how the iPhoto team achieved such an effect ?

Do you mean that it seems indented (I don't have iPhoto 6)? That is usually done by using a shadow that is set to a light colour and that falls to the upper left instead of the lower right. You can either do this manually or use an NSShadow as the text style for an attributed string.

If you look closely, the shadow is indeed a light colour, but it is directly below as opposed to upper-left or lower-right. This type of label highlighting is also used on the bottom of Finder windows but not the window title.


David
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Text like the window title of iPhoto 6 : how ?
      • From: Uli Kusterer <email@hidden>
References: 
 >Text like the window title of iPhoto 6 : how ? (From: Eric Morand <email@hidden>)
 >Re: Text like the window title of iPhoto 6 : how ? (From: Uli Kusterer <email@hidden>)
 >Re: Text like the window title of iPhoto 6 : how ? (From: David Rice <email@hidden>)
 >Re: Text like the window title of iPhoto 6 : how ? (From: Eric Morand <email@hidden>)

  • Prev by Date: Re: curious behavior of Conditionally Sets Enabled in NSTableView
  • Next by Date: Re: curious behavior of Conditionally Sets Enabled in NSTableView
  • Previous by thread: Re: Text like the window title of iPhoto 6 : how ?
  • Next by thread: Re: Text like the window title of iPhoto 6 : how ?
  • Index(es):
    • Date
    • Thread