Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 9    Views: 69

Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
01/28/14 05:31 PM (11 years ago)

Height of Tumblr menu plugin?

How can I adjust the height of the Tumblr menu? The top row of icons is a bit too close to the top of the iPhone. Is there a parameter I can tweak (via code or via JSON)? -- Niraj
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
01/29/14 09:03 AM (11 years ago)
also to adjust padding between icons plus keeping its original dimensions I'd prefer the icons to fall downward after icon is selected so not to flow up over header plus keep the nav bar on top
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/01/14 11:04 PM (11 years ago)
The height of the Tumblr menu can be done by modifying a variable. File - CHTumblrMenuView.m Method - frameForButtonAtIndex:index Insert this after the line containing CGFloat itemHeight ... etc. itemHeight = 230.0 // 1st (topmost) row starts at a lower position, not so close to Navbar Enjoy! -- Niraj
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
02/02/14 08:48 AM (11 years ago)
Awesome just in time
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/02/14 11:04 AM (11 years ago)
It would be nice to have several parameters managed via the Control Panel: 1. First row offset from top of screen (see above hack) 2. Height of a tile 3. Width of a tile 4. Padding between rows 5. Padding between columns 6. Enable or Disable background taps (don't know why this is a feature in the first place) 7. Have icons appear from the bottom (or top) and then disappear to the bottom (or top). The top is the Navbar and background screen has an embedded words at the top. Flying down would keep those things visible, rather than being obscured. I tried my best to get those JSON-ified. I tried to reference screenData using the appDelegate, but no luck. Perhaps Chris1 knows how to make it happen. Adding this into http://buzz-tools.com/ right now ... -- Niraj
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/02/14 11:21 AM (11 years ago)
Related feature request is for the Navbar to be shown to allow the User to return to a Parent screen. http://www.buzztouch.com/forum/thread.php?tid=2A51CE75AA1446AD64E84D0&fid=BC70C36A743CD4FAD95D17F&sortColumn=FT.id&sortUpDown=&currentPage=1 It has been also logged into http://buzz-tools.com/
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/03/14 02:02 PM (11 years ago)
fixed and updated
 
EdReyes
Lost but trying
Profile
Posts: 574
Reg: Oct 21, 2013
location unknow...
17,640
like
02/03/14 04:48 PM (11 years ago)
Thanks chris1
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/05/14 09:21 AM (11 years ago)
I have not found a way to make the first row be lower on the screen via the updated plugin. No worries, I am using the tip above. I gave the Plugin a review of "Users happy, me happy!" All the plugin updates are working just fine. Just need to update the doc accordingly. -- Niraj
 
chris1
Code is Art
Profile
Posts: 3862
Reg: Aug 10, 2012
Austin, TX
50,120
like
02/05/14 09:23 AM (11 years ago)
Niraj - there's a setting in the control panel for centering the icons vertically. If you turn that off, you can set the vertical padding of each row, including the top row.
 

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.