I’ll try and show you what I am trying to achieve here, with the screenshots from the old Unity version of the game I am making in Xenko
The UI panel displays the chart position, Title and Artist of a song. Note they are all centred vertically (this is available in unity UI editing tools):
Because the text is centred vertically, when a title is too long for one line and the text wraps, it remains centred vertically in the panel:
For clarity the unity textbox is the size of each of the coloured panels and supports upto 3 lines of text.
When I try and simulate this in the TextBlock in Xenko, I can use the upper margin to centre a single line in the middle of the TextBlock, however, when the line wraps, it starts from the middle down, rather than centering around the new midpoint of the text. 3 lines ends up with the lower line being off the TextBlock display.
I would have thought keeping text vertically in the centre of a block would have been common in any presentation software. Powerpoint and Excel have it, I know they are not GUI frameworks, but they are tools where people work to present text. I have just always assumed vertical alignment to be as common as horizontal alignment. I don’t mean to cause any offence.