Skip to content

Instantly share code, notes, and snippets.

@shayne
Created November 25, 2009 16:27
Show Gist options
  • Save shayne/242844 to your computer and use it in GitHub Desktop.
Save shayne/242844 to your computer and use it in GitHub Desktop.
// What I'm going after: http://img515.yfrog.com/img515/3872/90335114.png
[TTShapeStyle styleWithShape:[TTRoundedRectangleShape shapeWithTopLeft:-1 topRight:-1 bottomRight:-1 bottomLeft:-1]
next:[TTSolidFillStyle styleWithColor:[UIColor lightGrayColor]
next:[TTBoxStyle styleWithMargin:UIEdgeInsetsZero padding:UIEdgeInsetsMake(0, 8, 0, 8)
next:[TTTextStyle styleWithFont:[UIFont boldSystemFontOfSize:15]
color:[UIColor whiteColor]
minimumFontSize:15
shadowColor:nil
shadowOffset:CGSizeZero
textAlignment:UITextAlignmentCenter
verticalAlignment:UIControlContentVerticalAlignmentCenter
lineBreakMode:UILineBreakModeClip
numberOfLines:1
next:nil]]]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment