mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
Fix margin
This commit is contained in:
committed by
Cheng Zhao
parent
71cfb7441c
commit
e8b0897ea1
@@ -177,7 +177,7 @@ const CGFloat kVerticalTitleMargin = 2;
|
||||
return 0;
|
||||
|
||||
if (ANSI_)
|
||||
return [[title_ attributedStringParsingANSICodes] size].width + 8;
|
||||
return [[title_ attributedStringParsingANSICodes] size].width + 10;
|
||||
|
||||
base::scoped_nsobject<NSAttributedString> attributes(
|
||||
[[NSAttributedString alloc] initWithString:title_
|
||||
|
||||
Reference in New Issue
Block a user