Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 140

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

BTA Design Menu

Hi, using this plugin I've got the Header Image Layout set with height 75 and width 320. If I use the option to allow head image scroll, all is ok. If I disable the image scroll, the header is ok, but at the button the seems to appear a bar. This way the menu does not fill the whole screen. You can see a screenshot here: https://www.dropbox.com/s/c4z3fwof09t8pbm/Photo%2002-11-12%2018%2047%2038.png But if i increase the header's height, this bar gets smaller, if I reach 150height, it disappears. In the simulator all is ok, this happens on a iphone 5 device. Thank you Miguel
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
11/02/12 12:25 PM (13 years ago)
I'm guessing the scroll view is based on a height of 480 (or perhaps 480 minus the header)
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
11/02/12 02:13 PM (13 years ago)
Hi Miguel, I never heard (and seen) this situation but I guess Chris(Stobe) could be right. Do you see the same behaviour with the examples I provided? Have a look at the file BTA_designmenu.m at line 109: [self.myTableView setFrame:CGRectMake(0, headerImageView.imageHeight, 320, 410)]; Please play with the value 410. Make it 430 (or other value) and see what happens...... Let me know if that helped. Best Regards, Danny
 
MadRod
Aspiring developer
Profile
Posts: 1853
Reg: Apr 12, 2012
Lisbon
27,930
like
11/02/12 03:27 PM (13 years ago)
Thanks guys. So those values do seem to help. Thank you. Miguel
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
11/02/12 06:12 PM (13 years ago)
I would test again with a regular iphone screen to see how it looks there. You might loose the bottom rows of your list, if you have a long list. There's a way to auto-resize those values, although I've never looked into that yet. Perhaps instead of using 440 (or whatever worked, you could assign that value based on a device height. (coding logic, not verbatim) If device = iphone if device height > 480 view.height = 440 if device height =< 480 view.height = 410 end else this is an ipad (don't think this menu is designed for ipad yet) end
 
Stobe
buzztouch Evangelist
Profile
Posts: 1528
Reg: Mar 04, 2011
Fredericksburg,...
24,680
like
11/02/12 06:12 PM (13 years ago)
aaahh!! it took out all my nice spaces. It made sense before, lol
 

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.