- NSFont *font = [NSFont fontWithName:@"Lucida Grande Bold" size:18];
- NSDictionary *attr = [NSDictionary dictionaryWithObject:font forKey:NSFontAttributeName];
- NSFont *buttonFont = [NSFont fontWithName:@"Lucida Grande Bold" size:14];
- NSDictionary *buttonAttr = [NSDictionary dictionaryWithObjectsAndKeys:
+ NSFont *font;
+ NSDictionary *attr;
+ NSFont *buttonFont;
+ NSDictionary *buttonAttr;
+
+ if ( _sizing == ITTransientStatusWindowSmall ) {
+ divisor = SMALL_DIVISOR;
+ } else if ( _sizing == ITTransientStatusWindowMini ) {
+ divisor = MINI_DIVISOR;
+ }
+
+ font = [NSFont fontWithName:@"LucidaGrande-Bold" size:(baseFontSize / divisor)];
+ attr = [NSDictionary dictionaryWithObject:font forKey:NSFontAttributeName];
+ buttonFont = [NSFont fontWithName:@"LucidaGrande-Bold" size:(14 / divisor)];
+ buttonAttr = [NSDictionary dictionaryWithObjectsAndKeys: