- Home /
Is it possible to offset a quad in a rich text box
I have a text mesh that is marked for rich text and I'm trying to include an inline image. I'd like the image to be centred to the middle of the text. But that's not what's happening:
It's offset (what looks like) to the centre of the image. Is there a way to change that offset to align it with the centre of the text?
The text used for the mesh is:
"Press <quad material=1 size=24 x=0.0 y=0.0 width=1 height=1 /> to continue or <quad material=1 size=20 x=0.0 y=0.0 width=1 height=1 /> to quit."
Anyone?
There's two questions here. I'd either like to:
Be able to alter the quad's offset
Alter the baseline of the font
Is it possible to do either of those in Unity?
Your answer
![](https://koobas.hobune.stream/wayback/20220613134053im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Can I set a specific font for a specific font style? 1 Answer
Problem with using offset for scrolling screen 0 Answers
How to find a font via script? 2 Answers
Is there a way to measure the pixel with/height of a string with a given font? 2 Answers
Quad Background (Scrolling) Texture = Mutated Image 1 Answer