Reputation: 779
In Visual Studio, WinForms, I want to make the text of the label aligned to the right. I have used the property RightToLeft = Yes
, but the problem as follows occur:
The label Name :
becomes : Name
after the property RightToLeft = Yes
is made.
But I want to right aligned the label as Name :
Is there anyway to do so? Please help... I am using Visual Studio 2010
Upvotes: 1
Views: 9065
Reputation: 1766
First of all, disable AutoSize, then use TextAlign property to set alignment. It won´t work with AutoSize enabled because it "auto-sizes" starting by left.
Upvotes: 0