mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-09 00:28:53 +01:00
Add eclipses to truncated timeline text. Issue #1072
This commit is contained in:
parent
a37e4b7920
commit
c51f5f44e0
@ -105,7 +105,7 @@ private extension MasterTimelineTableViewCell {
|
|||||||
static func multiLineUILabel() -> UILabel {
|
static func multiLineUILabel() -> UILabel {
|
||||||
let label = NonIntrinsicLabel()
|
let label = NonIntrinsicLabel()
|
||||||
label.numberOfLines = 0
|
label.numberOfLines = 0
|
||||||
label.lineBreakMode = .byWordWrapping
|
label.lineBreakMode = .byTruncatingTail
|
||||||
label.allowsDefaultTighteningForTruncation = false
|
label.allowsDefaultTighteningForTruncation = false
|
||||||
label.adjustsFontForContentSizeCategory = true
|
label.adjustsFontForContentSizeCategory = true
|
||||||
return label
|
return label
|
||||||
|
Loading…
x
Reference in New Issue
Block a user