Procházet zdrojové kódy

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

cyberta před 6 roky
rodič
revize
462b4d7ec8
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {