I have a repeater with a text heading that may contain 1 or 2 lines with a coloured background box. Is there a way to vertically align the text INSIDE the text box to be centred? This way the text is always centered in the coloured background box?
I’m not entirely sure why the box doesn’t change size as the text increases which would also work.
Bottom image is how I have it currently so it at least fits the text in.
Ideally I’d like it to be like the top left with the top right aligning vertical centre.
thanks in advance.
Reserve more space (by dragging the the textbox taller)
You cannot align it to CenterCenter
@certified-code bugger about the centre centre inability. So should that background yellow box expand if the dynamic text becomes two lines?
@lukefarrugia80 Yes, you can do like this but it result to bad UX(user experience), because some are big some are small
@lukefarrugia80 attach the textbox in the container
@certified-code hmmm…i can’t seem to attach the text to that yellow box. Does it matter that it is in a repeater?
@lukefarrugia80 Not related, please make the textbox smaller than container
@certified-code Seems these two elements were buggy. I created a new text box and container and they then linked. Frustrating. But all working now. Thanks for the advice mate! Much appreciated.
Great to hear that! Please mark my answer as best answer to help more people in the community!
@certified-code done. thanks again mate. very much appreciate