Skip to content

Commit

Permalink
Extending Example By Resizing NavigationSearchBar
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackjacx committed Dec 13, 2018
1 parent 670c4eb commit 5d2651f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Example/SHSearchBar/SearchBarTitleView.swift
Expand Up @@ -32,8 +32,8 @@ class SearchbarTitleView: UIView {
let constraints = [
searchbar.leadingAnchor.constraint(equalTo: layoutMarginsGuide.leadingAnchor),
searchbar.trailingAnchor.constraint(equalTo: layoutMarginsGuide.trailingAnchor),
searchbar.topAnchor.constraint(equalTo: layoutMarginsGuide.topAnchor),
searchbar.bottomAnchor.constraint(equalTo: layoutMarginsGuide.bottomAnchor)
searchbar.topAnchor.constraint(equalTo: topAnchor),
searchbar.bottomAnchor.constraint(equalTo: bottomAnchor)
]
NSLayoutConstraint.activate(constraints)
}
Expand Down

0 comments on commit 5d2651f

Please sign in to comment.