Toolstrip status label equals (=) char

180 views Asked by At

I'm experiencing a little strange behaviour with a standard ToolStripStatusLabel, developing with C#. If I put inside a normal text like "Hello World" evrything works fine:

enter image description here

If a put an Equal character at the end, plus some other stuff different from words, like ("Hello World=--"), I've got this.

enter image description here

From the testing I made is like as ToolStripLabel make some kind of regular expression parsing or something like that, but I didn't find any doc or evidence around. I I put equals in the middle (like "Hello=World") it works fine, and prints exactly that string.

It's Odd because I was planning to write coords (like X=352,Y=43) but out of the painting area, print something like X=--,Y=--...

Code Example:

toolStripStatusLabel2.Text = "Hello World=--";
1

There are 1 answers

1
Christian Alt-Wibbing On BEST ANSWER

I can reproduce this, when I set the RightToLeft Property of Yes.

The RightToLeft property is used for international applications where the language is written from right to left, such as Hebrew or Arabic. When this property is set to RightToLeft.Yes, control elements that include text are displayed from right to left.

Can you check this property of the toolstripstatuslabel ?