Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 7    Views: 50

AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
01/15/15 11:01 AM (10 years ago)

Menu Image Rows

I'm working on app and trying to make a screen with a header image and a single button approx 40% the width of the screen. Using the menu image rows plugin gives me the header image and a centralised button, but the image is really small, even if I set the image height to be 300 pixels. I'm wondering what can I do to make the image larger - any suggestions?
 
crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
like
01/15/15 11:08 AM (10 years ago)
have you tried changing the image size to 1536x720
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/15/15 11:38 AM (10 years ago)
The current button is 480x480px, which I know isn't standard, but it is a starting point. It came up centralised on my device, but it looks to be showing at about 50x50. I appreciate the correct row image should be 1536(w) x 240(h); I'll try your suggestion and see what the effect is. Ultimately, I'm looking for solution that works for Android and IOS.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/19/15 08:09 AM (10 years ago)
I changed the image for the row to 1536(w) x 240(h) and it shows, but if I increase the row height the image size remains the same.
 
crazy android
Aspiring developer
Profile
Posts: 172
Reg: Oct 24, 2011
Las Vegas, Nv
9,920
like
01/19/15 09:43 AM (10 years ago)
Try 1536x100 or 125 some were around there and you should be good
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/19/15 11:44 PM (10 years ago)
Why not use the Menu Button plugin instead?
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
01/20/15 03:24 PM (10 years ago)
Hi Niraj, I considered the standard button menu; I went for menu image rows because I want to centre the button and keep it that way across device rotations, and I also wanted a banner at the top.
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
01/20/15 05:28 PM (10 years ago)
It would be a good time to learn how to make a XIB (you probably already know how to do that). Then you can add into the XIB the Auto Layout aspects. (David had a Webinar on this topic, not sure if it was recorded) That way, you will be set just right for all the devices and rotations. Its a good little mini project as a learning platform. I need to do the same! :-) -- Niraj
 

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.