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

How do you set the font color on a button with a combined image background?

Please help. I have buttons that use a combined image for the background. For the "selected" or "on" state (2nd button) I would like to specify a nice clean white. This default offset gray is difficult to read and definitely not 508 Compliant. Where can I adjust this??

Thanks,

Russell

5 Replies
vinieme12
Champion III
Champion III

Right Click on the button >> Properties >> Font tab

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
Chanty4u
MVP
MVP

Best way is  instead of button you can take text object and play around it you will get.

or else in  general tab you have bg colour  or  in  caption tab use  in active/active caption as well

avinashelite

Try to adjust the Background image transparency in the General tab and font properties.

Or

Try to use multiple buttons/Text objects and hide/show then so that you could achieve the desired representation

cparussell
Contributor III
Contributor III
Author

Here's a solution that works. Insert the text for the buttons into a single, combined background image like this:

Under button properties, General tab, remove text from Text box, and select Combined Image under Background:

Under Actions tab, insert an External Run Macro action:

Now click Edit Module button. Here's what the macro looks like:

This will produce 3 states of your button- basically UNSELECTED, CLICK, and SELECTED.

vinieme12
Champion III
Champion III

the same can be achieved using variables!

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.