[SOLVED] How to stop Windows Forms label text from rearranging itself


This Content is from Stack Overflow. Question asked by Drepple

Today I tried using Windows Forms for the first time, which went pretty smoothly until I tried setting the text of a label to “0 lines”, which was displayed as “lines 0” in the actual program. I tried a couple of other inputs for the Text property, and it seems the leading number in the label is always moved to the back. I couldn’t find any property in the label describing some sort of numerical formatting, so I was wondering were this rearranging came from and what I could do to disable it. Thanks in advance!

screenshot of the input

screenshot of the result


As CodeCaster said in their comment, I simply had to change the RightToLeft property.

This Question was asked in StackOverflow by Drepple and Answered by Drepple It is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?