     public private(set) var margin: UIEdgeInsets = .zero
     public private(set) var padding: UIEdgeInsets = .init(top: 10, left: 30, bottom: 10, right: 30)
     public private(set) var position: GSMessagePosition = .top
+    public private(set) var textAlignment: GSMessageTextAlignment = .center
     public private(set) var textColor: UIColor = .white
-    public private(set) var textAlignment: GSMessageTextAlignment = .center
     public private(set) var textNumberOfLines: Int = 1
     
     public var messageWidth:  CGFloat {

            case let .padding(value): padding = value
            case let .position(value): position = value
            case let .textAlignment(value): textAlignment = value
            case let .textNumberOfLines(value): textNumberOfLines = value
            }
        }


        messageText.attributedText = attributedText
        messageText.numberOfLines = textNumberOfLines
        messageText.textColor = textColor
        messageText.textAlignment = textAlignment.nsTextAlignment
        messageView.addSubview(messageText)
        
