Hello,
We've noticed that, when marking a field as "required" in a DataSource, the title (i.e. label) of a TextItem becomes bold. We'd like to tweak the appearance of required fields - larger/different font, not bold, etc.
I've looked around in the theme's CSS but not finding any section that is obviously titled. I've also tried defining my own CSS selector with specific font/weight/size settings, and specifically apply those via TextItem.setTitleStyle(...). This yielded some strange, seemingly compounding results.
Any help/guidance on the proper way to modify the style of a TextItem's title for "required" ones would be appreciated.
Thanks!
James
SmartGWT version: v8.2p_2012-10-31/Pro Deployment (built 2012-10-31)
We've noticed that, when marking a field as "required" in a DataSource, the title (i.e. label) of a TextItem becomes bold. We'd like to tweak the appearance of required fields - larger/different font, not bold, etc.
I've looked around in the theme's CSS but not finding any section that is obviously titled. I've also tried defining my own CSS selector with specific font/weight/size settings, and specifically apply those via TextItem.setTitleStyle(...). This yielded some strange, seemingly compounding results.
Any help/guidance on the proper way to modify the style of a TextItem's title for "required" ones would be appreciated.
Thanks!
James
SmartGWT version: v8.2p_2012-10-31/Pro Deployment (built 2012-10-31)
Comment