I have a Label inside a GroupBox. The RightToLeft property of Form, GroupBox and Label are Yes. The Auto-Size property of the Label is True. The Text of the Label is set at run-time. The problem is that the label grows from left to right instead of right to left. How can I solve the problem?
Asked
Active
Viewed 1,062 times
1 Answers
1
Possible duplicate with this: Label grow from right to left
Basically Auto-Size property needs to be false.

Community
- 1
- 1

Hadar Ben David
- 189
- 1
- 8
-
If I set the Auto-Size to false then do I have to set Width for the label? – Mohsen Dec 13 '16 at 09:10
-
1You can do a pre-measurement of the label size. Please see here: http://stackoverflow.com/questions/388937/determine-label-size-based-upon-amount-of-text-and-font-size-in-winforms-c – Hadar Ben David Dec 13 '16 at 09:37