Share
Explore

Set Button Color

BUTTONS
0
Search
Button
Text
Badge
FillColor
TextColor
Size
1
true
HI
red
white
10
2
false
Click Me
green
yellow
24
3
true
Boom !
blue
%23FFFFFF
24
4
false
Action
%23FF8844
%23440000
30
There are no rows in this table
DO_IT true

Description:
The LABEL of each button is set to a colored text based on the values on each row.
This uses the SVG Color Text technique I posted here

I’ve given a pointless action to each button just for this demo.
It just pushes some values from the row into the TEXTBOX control.

data:image/svg+xml,%3Csvg%20width="{4}"%20height="30"%20xmlns="http://www.w3.org/2000/svg"%3E%3Crect%20width="{4}"%20height="30"%20rx="8"%20fill="{2}"%20/%3E%20%3Ctext%20x="8"%20y="20"%20fill="{3}"%20style="font-family:%20arial;%20font-weight:%20900;%20font-size:%20{5};"%3E{1}%3C/text%3E%3C/svg%3E




Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.