dekatotoro / dekatotoro/SlideMenuControllerSwift
NSTextAlignment not working
Open
- Dominant language
- Swift
- Stars
- 3.4k
- Forks
- 742
- PR merge metrics
- No merged PRs in 30d
Description
hi again
i want text label Alignment insert to right but this not working
```
public func setData(data: Any?) {
self.backgroundColor = UIColor(hex: "F1F8E9")
self.textLabel?.font = UIFont.italicSystemFontOfSize(18)
self.textLabel?.textColor = UIColor(hex: "9E9E9E")
self.textLabel?.textAlignment = NSTextAlignment.Right // not working
if let menuText = data as? String {
self.textLabel?.text = menuText
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.