Vertically Align / Middle Align Column Text with Image—is it possible?

EDIT: adding that this is “solved enough” for me, and also dropping in links to some related threads in case it helps people:

Thread that Pablo_DV helpfully pointed me too:

Another thread that mentions vertical alignment along with a better articulation and visualization (albeit not in the thread title)

Is it possible to align an image and text within a cell? In particular, I’m hoping to implement alignment for an entire column for columns that concatenate a thumbnail image and text from other cells within the table (e.g. [company logo image] + [company name]).

After more straightforward experiments that failed, I briefly played with LaTeX options posted by @Max_OBrien in 2021. I couldn’t get combined output that didn’t display the LaTeX as SVG code, however (which I assumed would happen based on the caveats provided).

Screenshot of current column, showing vertically misaligned image and text

Current working formula

(mostly by ChatGPT, if it matters)

WithName(
  If(
    thisRow.Project.Client.IsBlank(),
    "(no company)",
    thisRow.Project.Client
  ),
  cli,
  Concatenate(
    Image(thisRow.[Thumb Company (Cir, Sm)], 16, 16, "", "auto"),
    " ",
    If(Length(cli) > 15, Concatenate(Left(cli, 15), "…"), ToText(cli))
  )
)

Hi @mrbrownjeremy ,

There’s not a perfect solution, but in this post you have some workarounds: Vertically align Icon and Name - Ask the Community - Coda Maker Community

Hope this helps!

Pablo

2 Likes

It does—excellent, and thank you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.