Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mahitham
Creator II
Creator II

Widget Background Color Help

Hi Experts,

Can any one please help me on below requirement.

I have tried Next sheet button widget with below script in widget editor like below attached image.

next sheet widget.png

 

Script:

<lui-button class="button1" ng-click="navigation.nextSheet()"
ng-style="{color: settings.color}">Next</lui-button>
 
I am able to change the Text color with Red and Blue from the settings of right side dropdown. But the requirement is able to change the background color from the setting panel with Red and Blue.
What modifications need to do on above script for background color change.
Please help me on this.
 
Thanks in advance.

 
 
1 Reply
yoboicipher
Contributor II
Contributor II

In the widget editor, click on the CSS tab at the bottom and it'll open up a CSS window where you add the button class to add the background color.

----

.button1{

background-color: settings.color      //or try playing around with different colors, ex: red or blue

}