Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
martinpedr
Contributor II
Contributor II

Background color in search list boxes

Hi everyone, I haven't found a solution for this issue so far. Hope one of you could help me to solve it.

After apply a custom theme, the background color for all my search list boxes appears in grey color. If I set a default theme like "Sense Classic" the background color is white. In the following screenshot you can see it.

Above custom theme. Below "Sense Classic" theme.

martinpedr_0-1732795539633.png

I followed this link to create the new one: Extended object styling | Qlik Developer Portal

Does anyone have an idea what property should I change?

 

Thanks in advance!

 

Labels (1)
  • Cloud

8 Replies
mpc
Partner - Specialist II
Partner - Specialist II

Hi, 

Can you share your theme code on the listbox and filterpane objet please ? 

Regards

From Next Decision and mpc with love
It helps, like it, It solves, mark it
martinpedr
Contributor II
Contributor II
Author

Hi @mpc , this is my code for both objects.

martinpedr_0-1733135333408.png

martinpedr_1-1733135354038.png

 

And the code for variables defined.

martinpedr_2-1733135388772.png

 

Obviously I tried to modify those color variables, but the issue persists.

mpc
Partner - Specialist II
Partner - Specialist II

Thx, I've just tested this working code: 

"filterpane": {
"backgroundColor": "@transparent",
"boxShadow": "@no",
"borderRadius": "@no"
},
..."listBox": {

"backgroundColor": "@transparent",
"title": {
"main": {
"fontSize": "@h2Size",
"color": "@objectForeground"
}
}

But "@transparent" is for me "@transparent": "rgba(255,255,255,0)", maybe replace "@light" variable by it and refresh/clear cache ? 

From Next Decision and mpc with love
It helps, like it, It solves, mark it
Hirschner_Viktor
Partner - Contributor
Partner - Contributor

Hello.

We faced the same problem and changing the "_inherit" parameter to "true" in theme.json helped us solve it.

Hirschner_Viktor_0-1733384261730.png

 

martinpedr
Contributor II
Contributor II
Author

Hi @mpc Unfortunately changing that property in the json file only change the color before to expand the filter. When the filter is expanded, the backgroung for searches remains as it was.

martinpedr
Contributor II
Contributor II
Author

Hi @Hirschner_Viktor . After apply your tip in the json file the issue persists.

mpc
Partner - Specialist II
Partner - Specialist II

Hi, 

Did you select a value ? 

Best

From Next Decision and mpc with love
It helps, like it, It solves, mark it
martinpedr
Contributor II
Contributor II
Author

Finally I only changed the property backgroundColor for listbox object putting white as background. Now it works. 

martinpedr_1-1733745185016.png

 

Thanks all for the support!