Using WinForms, I have a line that I want to set in ToolTip. The line is separated by lines using Environment.NewLine, for example:
x.ToolTipText = "aaaaaa" + Environment.NewLine + "bbb";
when this line is set to a tooltip, it looks:
aaaaaa
bbb
But my problem is when I want it to be localized in Arabic, and ToolTip does not support the RightToLeft property by default, so it looks really bad. I want it to look like this:
aaaaaa
bbb
Also: String.PadLeftdoes not help!
Any idea?
source
share