Skip to content

Commit

Permalink
UI Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
younatics committed Apr 27, 2017
1 parent 6985310 commit 08b61d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Updates
## [v2.3.1](https://github.com/younatics/YNDropDownMenu/releases/tag/2.3.1)
* Minor UI Update

## [v2.3.0](https://github.com/younatics/YNDropDownMenu/releases/tag/2.3.0)
* Make Framework

Expand Down
2 changes: 1 addition & 1 deletion YNDropDownMenu.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'YNDropDownMenu'
s.version = '2.3.0'
s.version = '2.3.1'
s.summary = 'Awesome Dropdown menu for iOS with Swift 3'

s.description = <<-DESC
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion YNDropDownMenu/YNDropDownButton.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class YNDropDownButton: UIButton {
self.buttonImageView.image = _buttonImage
self.buttonImageView.translatesAutoresizingMaskIntoConstraints = false

let buttonImageViewXContraint = NSLayoutConstraint(item: buttonImageView, attribute: .left, relatedBy: .equal, toItem: buttonLabel, attribute: .right, multiplier: 1.0, constant: 4)
let buttonImageViewXContraint = NSLayoutConstraint(item: buttonImageView, attribute: .left, relatedBy: .equal, toItem: buttonLabel, attribute: .right, multiplier: 1.0, constant: 5)
let buttonImageViewYConstraint = NSLayoutConstraint(item: buttonImageView, attribute: .centerY, relatedBy: .equal, toItem: buttonLabel, attribute: .centerY, multiplier: 1.0, constant: 0)

let buttonImageViewHeight = NSLayoutConstraint(item: buttonImageView, attribute: .height, relatedBy: .equal, toItem: nil, attribute: .notAnAttribute, multiplier: 1.0, constant: _buttonImage.size.height)
Expand Down

0 comments on commit 08b61d9

Please sign in to comment.