Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Catch up on the newest Qlik features and improvements: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
rafaelencinas
MVP
MVP

[ARTICLE] How to Create a Fully Transparent Button in Qlik (Button Over Button)

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
    }
}

 

botao transparente.gif

 

🎉 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!

"Without data, you're just another person with an opinion." — W. Edwards Deming.
Labels (1)
1 Solution

Accepted Solutions
lennart_mo
Creator II
Creator II

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)

lennart_mo_0-1794578890761.png

That way I didn't have to look up any CSS or some other attribute 😊

View solution in original post

3 Replies
marksouzacosta
MVP
MVP

Ok, this is crazy good!

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com

lennart_mo
Creator II
Creator II

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)

lennart_mo_0-1794578890761.png

That way I didn't have to look up any CSS or some other attribute 😊

rafaelencinas
MVP
MVP
Author

Thanks!! I never figured out in this way!

"Without data, you're just another person with an opinion." — W. Edwards Deming.