|
@@ -240,6 +240,7 @@ class KMSelectCell: NSTextFieldCell {
|
|
|
} else if (state == .Error_focus) {
|
|
|
paragraphStyle.lineSpacing = lineHeight_errorfocus
|
|
|
}
|
|
|
+ paragraphStyle.lineBreakMode = .byTruncatingTail
|
|
|
textField.attributedStringValue = NSAttributedString(string: _stringValue, attributes: [NSAttributedString.Key.paragraphStyle: paragraphStyle])
|
|
|
}
|
|
|
}
|