Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Sometimes, the best solutions are not the most obvious ones. 😉
If you want to create a 100% transparent button in Qlik, here's a little trick that involves tweaking the button's properties directly.
Follow these steps:
- Add a Layout Container to your sheet.
- Add two buttons inside the container.
- Activate Options / Developer mode.
- Set any background color for one of the buttons.
- Right-click the button and select Open Developer.
- Go to Properties and look for the following section:
"background": {
"useColorExpression": false,
"color": {
"index": 9,
"color": "#a16090",
"alpha": 1
}
}
- Now, change the color and alpha values to:
"background": {
"useColorExpression": false,
"color": {
"index": 9,
"color": "#000000",
"alpha": 0.00001
}
}
🎉 And that's it! Enjoy your fully transparent button!
A little unconventional? Definitely.
Effective? Absolutely!
Sometimes, knowing where to tweak things makes all the difference in Qlik.
💡 Have you ever used a similar workaround in Qlik? Share your tricks in the comments!
Hi @rafaelencinas,
I went for a solution using only standard features in Styling. Maybe there's a difference between onPrem and Cloud?
To get a transparent button, I went into "Styling" => "Chart" and changed "Color" in the Background Options from "Single color" to "By expression", using the following expression: =argb(0,0,0,0)
That way I didn't have to look up any CSS or some other attribute 😊
Ok, this is crazy good!
Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com
Hi @rafaelencinas,
I went for a solution using only standard features in Styling. Maybe there's a difference between onPrem and Cloud?
To get a transparent button, I went into "Styling" => "Chart" and changed "Color" in the Background Options from "Single color" to "By expression", using the following expression: =argb(0,0,0,0)
That way I didn't have to look up any CSS or some other attribute 😊
Thanks!! I never figured out in this way!