Skip to content

Commit

Permalink
Size adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfire committed Jun 28, 2016
1 parent ec9b2d8 commit 19cc279
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PopupDialog/Classes/PopupDialogView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ final public class PopupDialogView: UIView {
var constraints = [NSLayoutConstraint]()

// Shadow container constraints
constraints += NSLayoutConstraint.constraintsWithVisualFormat("H:|-(>=20,==20@900)-[shadowContainer(<=340,>=310)]-(>=20,==20@900)-|", options: [], metrics: nil, views: views)
constraints += NSLayoutConstraint.constraintsWithVisualFormat("H:|-(>=10,==10@900)-[shadowContainer(<=340,>=300)]-(>=10,==10@900)-|", options: [], metrics: nil, views: views)
constraints += [NSLayoutConstraint(item: shadowContainer, attribute: .CenterX, relatedBy: .Equal, toItem: self, attribute: .CenterX, multiplier: 1, constant: 0)]
constraints.append(NSLayoutConstraint(item: shadowContainer, attribute: .CenterY, relatedBy: .Equal, toItem: self, attribute: .CenterY, multiplier: 1, constant: 0))

Expand Down

0 comments on commit 19cc279

Please sign in to comment.