diff --git a/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon.png b/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon.png index f9cb724f..0d083592 100755 Binary files a/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon.png and b/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon.png differ diff --git a/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@2x.png b/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@2x.png index 2cba83b1..9a20c782 100755 Binary files a/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@2x.png and b/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@2x.png differ diff --git a/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@3x.png b/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@3x.png index 10123130..10871e9a 100755 Binary files a/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@3x.png and b/Source/BTNavigationDropdownMenu.bundle/arrow_down_icon@3x.png differ diff --git a/Source/BTNavigationDropdownMenu.swift b/Source/BTNavigationDropdownMenu.swift index 48c0b271..c01826d4 100755 --- a/Source/BTNavigationDropdownMenu.swift +++ b/Source/BTNavigationDropdownMenu.swift @@ -90,6 +90,7 @@ public class BTNavigationDropdownMenu: UIView { public var arrowImage: UIImage! { didSet { self.configuration.arrowImage = arrowImage + self.menuArrow.image = self.configuration.arrowImage } } @@ -173,7 +174,7 @@ public class BTNavigationDropdownMenu: UIView { override public func layoutSubviews() { self.menuTitle.sizeToFit() self.menuTitle.center = CGPointMake(self.frame.size.width/2, self.frame.size.height/2) - self.menuArrow.frame = CGRectMake(0, 0, 12, 7) + self.menuArrow.sizeToFit() self.menuArrow.center = CGPointMake(CGRectGetMaxX(self.menuTitle.frame) + self.configuration.arrowPadding, self.frame.size.height/2) }