Scale IKImageBrowserView titles
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