Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 100

BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
05/13/13 01:36 AM (12 years ago)

Menu with Image Plugin Bug Fix

I thought I'd post this here so that everyone who is already using this plugin can benefit. Big thanks go out to @Kittsy for debugging this and finding a fix! Issue - on an iPad, in landscape mode, when you click on a menu item to go to a screen that uses the Menu with Image plugin, it does not display the right-arrows at the end of each row. Starting in portrait mode does not have this problem (even if you rotate to landscape mode afterwards). Fix - in WB_screen_menuImage.m around line 138, replace the line [self.myTableView setFrame:CGRectMake(0, imageHeight, imageWidth, tableHeight)] with the following line [self.myTableView setFrame:CGRectMake(0, imageHeight, self.view.frame.size.width, tableHeight)] I'm making my new app universal so it works in both portrait and landscape mode on an iPad, and these little fixes help. Cheers
 
trouty
I hate code!
Profile
Posts: 338
Reg: Mar 26, 2013
London Outskirt...
4,830
like
05/13/13 03:00 AM (12 years ago)
i had that bug, but changed to a boxed view instead for an easy fix
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
05/13/13 04:31 AM (12 years ago)
Never noticed it. Thanks! Cheers! -- Smug
 
ianJamesPiano
Code is Art
Profile
Posts: 2661
Reg: Feb 13, 2011
Palm Springs, C...
37,010
like
05/13/13 09:30 AM (12 years ago)
Good eye, thanks!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
05/13/13 10:10 AM (12 years ago)
Don't avoid the bug, hunt it down and kill it!!!
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/13/13 10:47 AM (12 years ago)
@Kittsy. LOL. My sentiments exactly. Thanks again :-)
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
05/13/13 07:40 PM (12 years ago)
We all now know who gonna be testing our plugins and apps! :-) -- Niraj
 
BuzzingSteve
Aspiring developer
Profile
Posts: 526
Reg: Jun 24, 2011
Vancouver, Cana...
11,660
like
05/13/13 07:59 PM (12 years ago)
@Niraj. LOL. Anything I can do to help, I will. Cheers
 

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.