Discussion Forums  >  Self Hosted Control Panels

Replies: 4    Views: 88

PaddyO
Lost but trying
Profile
Posts: 189
Reg: Sep 11, 2013
Geelong
5,190
03/25/14 08:09 PM (10 years ago)

Self-hosted Theme settings - is something missing?

Hi all, I'm looking at the theme settings on my SHCP. There's a picklist for "Bottom Tool Bar Style", but changing that doesn't seem to change the JSON for the theme. In fact, there doesn't seem to be any JSON for this at all! Here is the JSON with that option set to Solid: https://dl.dropboxusercontent.com/u/43652415/Screen%20Shot%202014-03-26%20at%201.43.31%20pm.png and here it is with that same setting changed to Translucent: https://dl.dropboxusercontent.com/u/43652415/Screen%20Shot%202014-03-26%20at%201.42.31%20pm.png Is this right? I suspect it is maybe one of the things that's giving me this "hidden" custom tab button icon glitch: https://dl.dropboxusercontent.com/u/43652415/wonky%20tab%20button.png When I implement this: http://www.buzztouch.com/forum/thread.php?tid=94D9AA6F84290713C99B633 (I do have the correct icon loaded into the project and it isn't just a grey blob!) Any ideas? Thanks for taking a look. Cheers Paddy.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/25/14 09:28 PM (10 years ago)
That is a bit odd. You can, a panel or two down on the theme control panel page, custom 'add' (what should be there, heh) the value manually. You'll want something like: "toolbarStyle": "translucent" (and don't forget to put a comma if needed) I think there is a difference between 'toolbar' and 'tabbar', your image has what I would consider a 'tab' bar. Cheers! -- Smug
 
PaddyO
Lost but trying
Profile
Posts: 189
Reg: Sep 11, 2013
Geelong
5,190
like
03/25/14 11:45 PM (10 years ago)
Of course, toolbar vs tabbbar - thanks Smug. Is there anywhere you know of that I can mess with the TabBar values (specifically tab images, tab labels, tab bar background tint/image)? I'm scratching my head wondering why there's no occurrence of Tab-related UI elements in the code for my tabbed app (ie no UITabBar, no UITabBarItem...) The closest I can seem to find is in my appDelegate, but its a method rather than a styling: -(void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController{ [BT_debugger showIt:self message:[NSString stringWithFormat:@"tabBarController selected: %i", [tabBarController selectedIndex]]]; etc. Maybe I'm just not having a clear day! (or is that 'translucent'...?) Cheers Paddy.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
03/26/14 12:10 AM (10 years ago)
ah grasshopper, not UITabBar… BT_tabBarController :) The initialization and configuration of the tabBar is found in the BT_application.m file around line 540 or so until around line 653-ish depending on any modifications made previously. Cheers! -- Smug
 
PaddyO
Lost but trying
Profile
Posts: 189
Reg: Sep 11, 2013
Geelong
5,190
like
03/26/14 12:21 AM (10 years ago)
Thank you Sensei [bows low and slowly...] :) Cheers Paddy
 

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.