cancel
Showing results for 
Search instead for 
Did you mean: 

Widget style doesn't work on Text Widget

DrewGillow
9 - Travel Pro
9 - Travel Pro

The new feature to be able to change the style of individual widgets does not work on the Text Widget.

I would like to have the radius corners on the data widgets and have a solid block of color for some of the text widgets, but that isn't possible.  

I tried to change the background color to white, but that still left the border color and radius border.

1 ACCEPTED SOLUTION

Benji_PaldiTeam
10 - ETL
10 - ETL
Try the below script (I haven't tried it on Sisense latest version):
widget.on('ready', ()=> {
   $(element).parent().css('border-radius', '20px');
   $(element).parent().parent().css('border-radius', '20px');
})
 
In general, you can control this setting from the "look and feel" option in the Admin tab:
Benji_0-1677819918615.png

 

 Feel free to reach out if you have further questions, we're always happy to help (: 
Paldi Solutions - Number #1 Sisense Plugins Developer 

 

View solution in original post

2 REPLIES 2

Benji_PaldiTeam
10 - ETL
10 - ETL
Try the below script (I haven't tried it on Sisense latest version):
widget.on('ready', ()=> {
   $(element).parent().css('border-radius', '20px');
   $(element).parent().parent().css('border-radius', '20px');
})
 
In general, you can control this setting from the "look and feel" option in the Admin tab:
Benji_0-1677819918615.png

 

 Feel free to reach out if you have further questions, we're always happy to help (: 
Paldi Solutions - Number #1 Sisense Plugins Developer 

 

DrewGillow
9 - Travel Pro
9 - Travel Pro

The admin tab works and effects all widgets.  I was looking to over ride the admin tab settings for the text box widget, but can't find it.

You are correct that the edit script can work on the text widget.