Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 123

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

BT30 - Day 24 - Quiz plugin for tabbed layout

BT30 is my personal project to contribute to buzztouch: https://www.buzztouch.com/forum/thread.php?fid=2348BA49BA5737C92E3D9B5&tid=2348BA49BA5737C92E3D9B5 Day 24 - Quiz plugin for tabbed layout ------------- DESCRIPTION ------------- In the Quiz plugin you will find the fourth awnser button always hidden when used as a screen in a tabbed app. To fix this, use the code below. It does make the question box height a little smaller but it still works for long questions. You will have to give up the timer feature bar at the bottom, small price to pay to be able to use all 4 buttons! ------------- CODE ------------- in BT_screen_quiz.m FIND: int questionBoxHeight = 150; CHANGE: int questionBoxHeight = 120; and HIDE timer bar in Control Panel. OR manually hide timer bar: //quizToolbar hide code under that, that will do the trick. ------------- Hope this helps someone. David.
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
01/28/14 11:20 AM (10 years ago)
Thanks, for another great contribution, did you get my new bdsd2014 shamu badge?
 
Arubaman
Aspiring developer
Profile
Posts: 636
Reg: Oct 20, 2011
Akron
16,910
like
01/28/14 01:06 PM (10 years ago)
Thanks again.
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/28/14 01:23 PM (10 years ago)
No problem! @ed yes, sent that and a few others to david. - thanks. Cheers, David
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
01/29/14 01:39 AM (10 years ago)
Thanks David! I'm having this same issue on the lovely Android. I'll look into it to see if I can do something similar in the layout XML Appreciate this post!
 
mrDavid
BTMods.com
Profile
Posts: 3936
Reg: May 21, 2011
San Diego, CA
51,910
like
01/30/14 03:34 PM (10 years ago)
No problem - best of luck!
 

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.