Fix margin

This commit is contained in:
Sebastien Bramille 2017-11-13 16:51:08 +00:00 committed by Cheng Zhao
parent 71cfb7441c
commit e8b0897ea1

View file

@ -177,7 +177,7 @@ const CGFloat kVerticalTitleMargin = 2;
return 0; return 0;
if (ANSI_) if (ANSI_)
return [[title_ attributedStringParsingANSICodes] size].width + 8; return [[title_ attributedStringParsingANSICodes] size].width + 10;
base::scoped_nsobject<NSAttributedString> attributes( base::scoped_nsobject<NSAttributedString> attributes(
[[NSAttributedString alloc] initWithString:title_ [[NSAttributedString alloc] initWithString:title_