Qlik Community

Ask a Question

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join us at the Cloud Data and Analytics Tour! REGISTER TODAY
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 II
Champion II

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

Chanty4u
Champion III
Champion III

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 II
Champion II

the same can be achieved using variables!