瀏覽代碼

fix padding for aligning a view's trailing to another view's trailing

cyberta 6 年之前
父節點
當前提交
462b4d7ec8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      deltachat-ios/Helper/UIView+Extension.swift

+ 1 - 1
deltachat-ios/Helper/UIView+Extension.swift

@@ -71,7 +71,7 @@ extension UIView {
 			toItem: view,
 			attribute: .trailing,
 			multiplier: 1.0,
-			constant: paddingTrailing)
+			constant: -paddingTrailing)
 	}
 
 	func constraintToBottomOf(_ view: UIView) -> NSLayoutConstraint {