Skip to content

Instantly share code, notes, and snippets.

@orlaqp
Created March 31, 2011 17:03
Show Gist options
  • Save orlaqp/896774 to your computer and use it in GitHub Desktop.
Save orlaqp/896774 to your computer and use it in GitHub Desktop.
_reportDetails = [[CPTextField alloc] initWithFrame:CGRectMake(0,27,CGRectGetWidth([_detailsContainer bounds]) - 15,0)];
[_reportDetails setStringValue:@"Select a file to show details here"];
[_reportDetails setEditable:NO];
[_reportDetails setBezeled:YES];
[_reportDetails setLineBreakMode:CPLineBreakByWordWrapping];
[_reportDetails setFont:[CPFont systemFontOfSize:12.0]];
[_reportDetails sizeToFit];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment