Change size of Tabs

Is it possible to change the size and/or color (togglable color preferred) of the tabs in Dashboard?

Hi Dan

You cannot change the colors used in the tabs but you can add an attribute called tabheight=“…” to the tag to modify the height.

If you want more control, it is common to use a radio toggle parameter to control your tab selection and then hide the tabs:

First Tab Second Tab Third Tab ogscript.reveal(this.getValue());

Cheers

James

#DashBoard

As usual, James, your suggestions worked perfectly! Thanks a lot!

#DashBoard

Hi James.

I can’t get tabheight to work - I just get the default size of tab ‘label’ no matter what - even pasting your code and changing value to something ridiculous like 200 has no effect.

Changing the text size alone works (without using tabheight), but not super elegant.

Your second example works, but was after a simple solution.

What am I doing wrong?

Thanks!
Paul

#DashBoard

Can you post the portion of your panel that has the tabs? It’s hard to tell what you are doing wrong without seeing the code.

#DashBoard

Well, I mean literally just pasting James’ code into a new grid. I resorted to this as a sanity check! If you do the same; i.e create a brand new grid file, and dump the first code he posted (tabheight one) as the only contents, does it work for you? Starting to wonder if this is a bug in the latest version of Dashboard.

#DashBoard

I just tried it and it appears that the tabheight functionality was somehow missed when we did the release that has the new look and feel (Aura look).

So for the time being, the only thing that will affect the tab height is the size of the actual string in the tab.

A bug has been raised, and hopefully it will get fixed in a near future release.

#DashBoard

Ahh excellent, thanks!

#DashBoard

Out of curiosity, and as it sound like you are on the team - are we likely talking estimates about of weeks…months…?

#DashBoard