|
@@ -29,6 +29,9 @@ class CPDFListHoverAnnotationViewController: NSViewController {
|
|
|
self.view.layer?.backgroundColor = NSColor(red: 0, green: 0, blue: 0, alpha: 0.8).cgColor
|
|
|
|
|
|
self.contentLabel.stringValue = self.annotation.toolTipsString()
|
|
|
+ self.contentLabel.maximumNumberOfLines = 16
|
|
|
+// self.contentLabel.lineBreakMode = .byTruncatingTail
|
|
|
+ self.contentLabel?.cell?.truncatesLastVisibleLine = true
|
|
|
}
|
|
|
|
|
|
|