+- (void)setImage:(NSImage*)image {
+ [super setImage:image];
+ if ( [self title] ) {
+ [self setTitle:[self title]];
+ }
+}
+
+- (void)setTitle:(NSString*)title {
+ if ( [self image] && (title != nil) ) {
+ [self setSmallTitle:title];
+ } else {
+ [super setTitle:title];
+ }
+}
+
+
+/*************************************************************************/
+#pragma mark -
+#pragma mark PRIVATE METHODS
+/*************************************************************************/
+
+
+
+- (void)setSmallTitle:(NSString*)title {
+ NSAttributedString *attrTitle = [[[NSAttributedString alloc] initWithString:title attributes:[NSDictionary dictionaryWithObject:[NSFont fontWithName:@"Lucida Grande" size:12.0] forKey:NSFontAttributeName]] autorelease];
+ [self setAttributedTitle:attrTitle];
+}
+
+