• 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
Scale IKImageBrowserView titles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scale IKImageBrowserView titles


  • Subject: Scale IKImageBrowserView titles
  • From: email@hidden
  • Date: Sat, 1 Dec 2007 14:24:11 +0100

Hi,
Does anyone know how to change the info space height/cell layout of
IKImageBrowserView? I'm trying to make the title and subtitle font larger
than the default 12 pixels (using the code below), but the actual title and
subtitle frames are not resized accordingly, meaning the two frames overlap
and the view is garbled. My goal is to have the titles autoscale with the
window size. Any pointers appreciated.

NSFont *font = [NSFont fontWithName:@"LucidaGrande-Bold" size:24];

NSMutableDictionary *dictionary = [imageBrowser valueForKey:
IKImageBrowserCellsTitleAttributesKey];

[dictionary setValue:font forKey:@"NSFont"];

 dictionary = [imageBrowser valueForKey:
IKImageBrowserCellsSubtitleAttributesKey];

[dictionary setValue:font forKey:@"NSFont"];
_______________________________________________

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

  • Prev by Date: Re: Leopard NSTableView Cell and single click editing
  • Next by Date: Re: Leopard crash in standard open and save panel
  • Previous by thread: Re: Leopard NSTableView Cell and single click editing
  • Next by thread: Re: Scale IKImageBrowserView titles
  • Index(es):
    • Date
    • Thread