I have Icons that I want listed in a line, but the formula keeps stacking them.

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
Photo of Cassie

Cassie

  • 182 Points 100 badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,346 Points 50k badge 2x thumb
Can you post your formula?

But in any event this should work

List("<br>",
[icon 1],
[Icon 2],
[icon 3])

The <br> should break to a new line
Photo of Cassie

Cassie

  • 182 Points 100 badge 2x thumb
[Stop Icon Formula]&" "&[Chronic Illness Formula] 



I want them in a line, not stacked. Do I need to have more than 2 to make it work?
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,346 Points 50k badge 2x thumb
Sorry I mis-read your post.  You want them in a line.

Can I see the formulas for the two icons?
Photo of Cassie

Cassie

  • 182 Points 100 badge 2x thumb
The formula I listed the other day is the one that I'm using. BUT for some reason, it stacks them and won't put them in a line. Any ideas??

[Stop Icon Formula]&" "&[Chronic Illness Formula] 



Stop Icon-"<div><img src=\"https://images.quickbase.com/si/24/769-clear_breakp.png\"></div>"


Chronic Icon- "<div><img src=\"https://images.quickbase.com/si/24/038-doc_favor.png\"></div>"
(Edited)
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,346 Points 50k badge 2x thumb
If you get rid of the opening and closing it will fix the problem.
Photo of Cassie

Cassie

  • 182 Points 100 badge 2x thumb
Can you clarify? 
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,346 Points 50k badge 2x thumb
The div part of your formulas for the icons are causing the line break.
Try this is your formula box.

var text Stop = "<img src=https://images.quickbase.com/si/24/769-clear_breakp.png>";

var text Chronic Icon = "<img src=https://images.quickbase.com/si/24/038-doc_favor.png>"<br><br>List (" ", $Stop, $Chronic)<br>
alternatively, you can just changes you formula to read like this


"<img src=<a target="_blank" rel="nofollow" href="https://images.quickbase.com/si/24/769-clear_breakp.png%3E%22" title="Link https//imagesquickbasecom/si/24/769-clear_breakppngbr">https://images.quickbase.com/si/24/769-clear_breakp.png>"</a><br><br>