Преглед на файлове

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 {