Forráskód Böngészése

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

cyberta 6 éve
szülő
commit
462b4d7ec8
1 módosított fájl, 1 hozzáadás és 1 törlés
  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 {