MattLB
November 16, 2023, 4:55pm
1
Is their a technique/component to create a “Hint” (filled text box with TWO lines of text) in Glide Apps. Basically, how the Glide Classic hint component worked.
TIA
I use HTML and a Rich Text component to make my own hint components.
I’ve made my own with some html and I display it in a rich text component. Needed some more flexibility for my use case. Not exactly the same as the old hint component, but you can alter it as needed. I use it in a custom collection, but you could use it anywhere.
[image]
[image]
<div style="background-color:{color};padding:10px;border-radius: 10px;padding-top:15px;">
<h4>{text}</h4>
</div>
I have an IF column to set the color code based on different conditions.
[image]
Here’s an example with a header and content. Put it in a template column and replace the tags with your column values. Then use that template column in a rich text component.
<div style="background-color:#daede2;padding:10px;border-radius: 10px;">
<h4>{Header}</h4>
</p>
{Content}
</div>
[image]
You may prefer to use font and font color tags to alter the text size and color as opposed to header tags. It’s up to you how you want it to look.
2 Likes