Kinetic Application Studio - Can you change the length of a label and also change the color?

Hello,

I have a kinetic dashboard that uses a label in a panel-grid to tell the user that the grid is loading and please wait.

That works fine.

My issues are:

  1. The label box is too short. It is making my message wrap. Can I increase the length?
  2. I would like to change the background and font color of the label if possible.

Has anybody ran into this before and can you provide a solution please?

Any help is greatly appreciated!

2 Likes

Hmmm, the label object doesn’t even let you assign it an id in appstudio.. it does get an id though, and a guid if you check ctrl-alt-8 ctrl-alt-l component model debug, so you can address it with a property-set. Does it have a property for width? not that I see. Usually, I would use a text area in a case like this which does extend to the full width possible. Although this has a significantly different visual appearance from a label.

If you don’t mind the location of the text, you can probably put it in the page caption, i think that dynamically stretches to the full width of the page.

Do you HAVE to use a label?

Text Area works well to set but the width (in the component’s Advanced properties) and the colors via Data Rule.

2 Likes

I have yet to use Data rule.

How do I set the color of the text area?

Give the text area a binding… TransView.something

In the top line of your datarule, pick the dataview you bound your control to (TransView in this example).

Assuming you always want to have the highlight turned on, you can use “No Condition”.

Under action, you want to choose SettingStyle.Status

Then type in your field and hit “enter” (assuming you used TransView and created a binding on the fly… you have to manually type it in).

Then just pick the ugliest color combination you can. … or not.

2 Likes

Hello,

That worked for setting a background color but the font color never changes, no matter what color I pick.

Any ideas?

Example pics below.

What I set the style to

What comes up when triggered.
image

1 Like

It MAY just be a muted color if the text area is set to read only, or disabled.

Wide Open:

Read-Only:
image

Subtle… but the colors are muted when the control is protected.

2 Likes