Skip to content

Commit

Permalink
Change padding in ColorWellPopover
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbaird committed Dec 17, 2023
1 parent 507d95c commit 61493c2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Sources/ColorWellKit/Views/Cocoa/ColorWellPopover.swift
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ extension ColorWellPopover {

translatesAutoresizingMaskIntoConstraints = false
NSLayoutConstraint.activate([
widthAnchor.constraint(equalTo: layoutView.widthAnchor, constant: 13),
heightAnchor.constraint(equalTo: layoutView.heightAnchor, constant: 13),
widthAnchor.constraint(equalTo: layoutView.widthAnchor, constant: 20),
heightAnchor.constraint(equalTo: layoutView.heightAnchor, constant: 20),
])

layoutView.translatesAutoresizingMaskIntoConstraints = false
NSLayoutConstraint.activate([
layoutView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 6.5),
layoutView.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -6.5),
layoutView.topAnchor.constraint(equalTo: topAnchor, constant: 6.5),
layoutView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -6.5),
layoutView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: 10),
layoutView.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -10),
layoutView.topAnchor.constraint(equalTo: topAnchor, constant: 10),
layoutView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -10),
])
}
}
Expand Down

0 comments on commit 61493c2

Please sign in to comment.