Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Markbhai
Creator

Vertical Alignment of Text

Morning!

Is it possible to align text vertically in a text box? - In my example below I would like the tite to be centrally aligned vertically as well as horizontally.

 

Markbhai_0-1712827549843.png

 

Thanks

Mark.

Labels (1)
2 Solutions

Accepted Solutions
MatheusC
Specialist II

Ok, so try this inside the expression to align the text and then apply the center:

MatheusC_0-1712847347302.png

MatheusC_1-1712847356418.png


att, Matheus

 

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!

View solution in original post

Markbhai
Creator
Author

Whilst the above solution from Matheus is working, I found it difficult to get the right sized text.  I have found a different solution which allows some additional formatting.

Add a Multi KPI control to your sheet.

Add

='Your Text'

as an expression in the Measure and tggle the 'Hide Lable'

In Style, make it Centre Aligned

In Measures select the size of your text (I have Mini).

Thanks

Mark

View solution in original post

5 Replies
MatheusC
Specialist II

@Markbhai 
You can try something by image in the text box, see below:

MatheusC_0-1712842751131.png

 




Regarts, Matheus

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Markbhai
Creator
Author

Thanks Matheus, by this do you mean:

1. Create an Image of the text to be displayed

2. Place the image inside a 'Text and Image' custom object.

 

BTW what I was actually wanting to achieve by Vertical Alignments was something like this:

Markbhai_0-1712844237631.png

 

MatheusC
Specialist II

Ok, so try this inside the expression to align the text and then apply the center:

MatheusC_0-1712847347302.png

MatheusC_1-1712847356418.png


att, Matheus

 

Did you find a solution to your question? Mark the solution as accepted and if you found it useful, press the like button!
Markbhai
Creator
Author

Thanks Matheus,

That does the trick.

Markbhai
Creator
Author

Whilst the above solution from Matheus is working, I found it difficult to get the right sized text.  I have found a different solution which allows some additional formatting.

Add a Multi KPI control to your sheet.

Add

='Your Text'

as an expression in the Measure and tggle the 'Hide Lable'

In Style, make it Centre Aligned

In Measures select the size of your text (I have Mini).

Thanks

Mark