function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Dynamic Component Tab Styling - font size

Quick question.  Can anyone tell me how I can modify the font SIZE of the tabs I am using in a dynamic component.  The weird thing is that I can control the font weight (as shown below in #1)...and even the width of the tab...but for some reason I cannot make the font a little larger.


Thanks in advance.



// #1 - This works

Component.Apex.Tab xxxTab = new Component.Apex.Tab(style='font-weight:bold;');  


// #2 - This does not work.  Why?

Component.Apex.Tab xxxTab = new Component.Apex.Tab(style='font-size:25px;');