Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 77

MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
12/10/13 03:59 AM (11 years ago)

Vertical Scroller Image super small

Hey, adding images for the buttons on the vertical scroller... no matter what size the image is, 200x20 or 5000x5000, it shows up like a super tiny tiny little dot... Any ideas?
 
Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
like
12/10/13 04:17 AM (11 years ago)
i had the same issue.. In >> List Rows, Font Size Make row height somewhere around 200 to 300 see if it works <a href="https://www.dropbox.com/s/slr9204zr2hobbf/varioustechblogs.apk" target="_blank" rel="nofollow">https://www.dropbox.com/s/slr9204zr2hobbf/varioustechblogs.apk</a> this is the app i made with vertical scroller ..not live yet
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/10/13 04:22 AM (11 years ago)
Thanks. Will try that.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/10/13 04:45 AM (11 years ago)
It doesn't help me. I mean the button grows and so does the image, but the image is still much smaller then the button.
 
Akshay
I hate code!
Profile
Posts: 193
Reg: Mar 07, 2013
Pune ,India
1,930
like
12/10/13 05:06 AM (11 years ago)
ok for tablets i somehow got what i wanted(i have a tablet) for phones i also need to do some trials . will let u know when have i any success
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/10/13 05:21 AM (11 years ago)
thanks.
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/10/13 01:31 PM (11 years ago)
are we talking iOS or Android?
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/10/13 01:59 PM (11 years ago)
IOS
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
12/10/13 02:53 PM (11 years ago)
Look in the file "CR_cell_vertScroll.m". Around line 70, you should see this line: [cellImageView setContentMode:UIViewContentModeScaleAspectFit]; Change that to: [cellImageView setContentMode:UIViewContentModeScaleAspectFill]; Does that fix it for you? The current setting is to keep the aspect ratio of the image the same, filling with the row height and the menu width settings on the control panel. The alternative method I gave you above stretches the image to fill that area.
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
12/10/13 03:04 PM (11 years ago)
No, it still does not fill the cell. What size image would you recommend? What sizes did you use on the print screens we see? Thanks
 
Grateful
buzztouch Evangelist
Profile
Posts: 69
Reg: Dec 03, 2012
Long Beach
5,340
like
12/28/13 07:20 PM (11 years ago)
Hi Did you ever figure out how to get the image bigger?
 

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.