thiagoperes / IDMPhotoBrowser

Photo Browser / Viewer inspired by Facebook's and Tweetbot's with ARC support, swipe-to-dismiss, image progress and more
MIT License
2.71k stars 642 forks source link

Enhance UX in toolbar buttons #205

Closed felipewaku closed 8 years ago

felipewaku commented 8 years ago

According to Apple's guideline to Toolbar and navigation bar icon size, the toolbars buttons needs to be at least 66x66 to retina HD screens and 44x44 to retina screens. The size of the buttons are currently being set according to the button's image size so sometimes, like in the default image, the buttons are to small and affects the UX.

So in this PR I'm increasing the clickable area of the button if its image is smaller than the minimum.

felipewaku commented 8 years ago

Old behaviour: old behaviour

New behaviour: new behaviour

eduardocallado commented 8 years ago

Nice improvement! Thanks!