[button setBezelStyle:1001];
[button setFont:[NSFont fontWithName:@"Lucida Grande Bold" size:14]];
[button setTitle:@"Launch Manually"];
[button setBezelStyle:1001];
[button setFont:[NSFont fontWithName:@"Lucida Grande Bold" size:14]];
[button setTitle:@"Launch Manually"];
[button sizeToFit];
[button setFrameSize:NSMakeSize([button frame].size.width + 8, 24)];
[testTextField setCastsShadow:YES];
[button sizeToFit];
[button setFrameSize:NSMakeSize([button frame].size.width + 8, 24)];
[testTextField setCastsShadow:YES];
// Set the content height to the greater of the text and image heights.
contentHeight = ( ( imageHeight > textHeight ) ? imageHeight : textHeight );
// Setup the Window, and remove all its contentview's subviews.
windowWidth = ( SW_PAD + imageWidth + SW_SPACE + textWidth + SW_PAD );
windowHeight = ( SW_PAD + contentHeight + SW_PAD );
// Set the content height to the greater of the text and image heights.
contentHeight = ( ( imageHeight > textHeight ) ? imageHeight : textHeight );
// Setup the Window, and remove all its contentview's subviews.
windowWidth = ( SW_PAD + imageWidth + SW_SPACE + textWidth + SW_PAD );
windowHeight = ( SW_PAD + contentHeight + SW_PAD );
- [statusWindow setFrame:NSMakeRect(SW_BORDER, SW_BORDER, windowWidth, windowHeight) display:YES];
+ [statusWindow setFrame:NSMakeRect(SW_BORDER, SW_BORDER, windowWidth, windowHeight) display:YES animate:YES];
[[[statusWindow contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
// Setup, position, fill, and add the image view to the content view.
[[[statusWindow contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
// Setup, position, fill, and add the image view to the content view.
[textField setTextColor:[NSColor whiteColor]];
[textField setCastsShadow:YES];
[textField setStringValue:text];
[textField setTextColor:[NSColor whiteColor]];
[textField setCastsShadow:YES];
[textField setStringValue:text];