Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 2    Views: 87

mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
01/24/14 09:58 AM (10 years ago)

BT30 - Day 20 - Make icons smaller on plugins (ios)

BT30 is my personal project to contribute to buzztouch: https://www.buzztouch.com/forum/thread.php?fid=2348BA49BA5737C92E3D9B5&tid=2348BA49BA5737C92E3D9B5 Day 20 - Make icons smaller on plugins (ios) ------------- DESCRIPTION ------------- Back in the day you could use tiny icons and they would look great on the button menu and menu with image plugins. Now if you try to use them, they stretch and look like this: http://postimg.org/image/r7in6j961/ This fix makes them look like this again: http://postimg.org/image/8ambf0cax/ (NOTE: works for both the menu with buttons plugin and other menu with image type plugins) ------------- CODE ------------- This is very easy. Open up the plugin .m file with the offending "stretch" icon issues and find all instances of: UIViewContentModeScaleAspectFill and change to: UIViewContentModeCenter You're done! ---------------------------- p.s. Don't have icons but want them? Here are over 200+ for free: https://buzztouchmods.com/downloads.php?cat_id=2&download_id=10 Hope this helps someone. David.
 
MacApple
Apple Fan
Profile
Posts: 4674
Reg: Oct 25, 2010
USA
61,140
like
01/24/14 06:28 PM (10 years ago)
New avatar! That's the real news here.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/24/14 10:07 PM (10 years ago)
Hah! I miss your classic arms crossed on the bus one, but the wife was a good replacement for-sure :-) Wish you were here! David
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.