     
     /// Reloads the view.
     open func reload() {
-        snackbar.width = view.width
+        snackbar.x = snackbarEdgeInsets.left
+        snackbar.width = view.width - snackbarEdgeInsets.left - snackbarEdgeInsets.right
         rootViewController.view.frame = view.bounds
         layoutSnackbar(status: snackbar.status)
     }

     */
    private func layoutSnackbar(status: SnackbarStatus) {
        if .bottom == snackbarAlignment {
            snackbar.y = .visible == status ? view.height - snackbar.height : view.height
        } else {
            snackbar.y = .visible == status ? 0 : -snackbar.height
        }
    }
}

    /// Snackbar alignment setting.
    open var snackbarAlignment = SnackbarAlignment.bottom
    
    /// A preset wrapper around snackbarEdgeInsets.
    open var snackbarEdgeInsetsPreset = EdgeInsetsPreset.none {
        didSet {
            snackbarEdgeInsets = EdgeInsetsPresetToValue(preset: snackbarEdgeInsetsPreset)
        }
    }
    
    /// A reference to snackbarEdgeInsets.
    @IBInspectable
    open var snackbarEdgeInsets = EdgeInsets.zero {
        didSet {
            layoutSubviews()
        }
    }
    
    /**
     Animates to a SnackbarStatus.
     - Parameter status: A SnackbarStatus enum value.
