Tunnel edit: Fix comment

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2018-12-19 16:23:14 +05:30
parent bba6d2f919
commit f93c9797ea
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class TunnelEditKeyValueCell: KeyValueCell {
let widthRatioConstraint = NSLayoutConstraint(item: keyLabel, attribute: .width, relatedBy: .equal, toItem: self, attribute: .width, multiplier: 0.4, constant: 0) let widthRatioConstraint = NSLayoutConstraint(item: keyLabel, attribute: .width, relatedBy: .equal, toItem: self, attribute: .width, multiplier: 0.4, constant: 0)
// In case the key doesn't fit into 0.4 * width, // In case the key doesn't fit into 0.4 * width,
// so set a CR priority > the 0.4-constraint's priority. // set a CR priority > the 0.4-constraint's priority.
widthRatioConstraint.priority = .defaultHigh + 1 widthRatioConstraint.priority = .defaultHigh + 1
widthRatioConstraint.isActive = true widthRatioConstraint.isActive = true
} }