1
我试图更改NSPanel的标题栏高度。我尝试了以下方法,但并未按预期工作:在NSPanel中更改标题栏高度
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
NSRect f = [[[window contentView] superview] frame];
f.size.height += 10;
[[window contentView] superview].frame = f;
}