         }
     }
     
-    public override func sizeThatFits(_ size: CGSize) -> CGSize {
+    open override func sizeThatFits(_ size: CGSize) -> CGSize {
         return label.sizeThatFits(size)
     }
 


extension NSAttributedString {
    
    func withInherited(font: UIFont, textAlignment: NSTextAlignment) -> NSAttributedString {
        
        let paragraphStyle = NSMutableParagraphStyle()
        paragraphStyle.alignment = textAlignment

    }
    
    //MARK: - public properties redirected to underlying UILabel
    open var font: UIFont {
        set { label.font = newValue }
        get { return label.font }
    }
    
    open var numberOfLines: Int {
        set { label.numberOfLines = newValue }
        get { return label.numberOfLines }
    }
    
    open var textAlignment: NSTextAlignment {
        set { label.textAlignment = newValue }
        get { return label.textAlignment }
    }
    
    open var lineBreakMode: NSLineBreakMode {
        set { label.lineBreakMode = newValue }
        get { return label.lineBreakMode }
    }
    
    open var textColor: UIColor {
        set { label.textColor = newValue }
        get { return label.textColor }
    }
    
    open var shadowColor: UIColor? {
        set { label.shadowColor = newValue }
        get { return label.shadowColor }
    }
    
    open var shadowOffset: CGSize {
        set { label.shadowOffset = newValue }
        get { return label.shadowOffset }
    }
