I have a static control which needs to display a long string in multiline. The control is large enough to contain the text. But when there is little text, it looks awkward to top aligned. I want the text to middle aligned and didn't find any property to do that. Any suggestions?
Asked
Active
Viewed 450 times
0
-
Which control and does this answer your question? [How can we vertically align text in edit box?](https://stackoverflow.com/questions/867207/how-can-we-vertically-align-text-in-edit-box) – user1810087 Sep 03 '21 at 14:05
-
It doesn't answer my question. I'm using a static control which is large enough to accommodate a lengthy string and it need to display left - horizontally, If there is a small text, then it should be displayed at left and middle of the static control – Maneesha MR Sep 03 '21 at 14:36
-
What do you mean by `it should be displayed at left and middle`? `left` or `middle`? – Vlad Feinstein Sep 03 '21 at 16:25
-
I meant that text should be left- aligned and it is at the middle, in relative to the height of static control. – Maneesha MR Sep 03 '21 at 17:04
-
@ManeeshaMR maybe you should [edit] the question and show some pictures. – Jabberwocky Sep 06 '21 at 06:54