Skip to content

Commit

Permalink
attributedText
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Apr 25, 2024
1 parent e581f1b commit b6c3297
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/NSUI/Label.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ public extension NSUILabel {
stringValue = newValue
}
}

var attributedText: NSAttributedString {
get { attributedStringValue }
set { attributedStringValue = newValue }
}

var textAlignment: NSTextAlignment {
get {
return alignment
Expand Down

0 comments on commit b6c3297

Please sign in to comment.