Click here to Skip to main content
15,881,027 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi there! I got a problem! :D

I am working on a program that does stuff, but when I tell a label to change text into something longer, the text goes outside the box, I tried checking the RightToLeft feature but that didnt do anything.

Example image: http://imgur.com/wHoNKVD[^]
Posted
Comments
Sergey Alexandrovich Kryukov 26-Mar-14 12:45pm    
What do you mean by "VB"?
—SA
Adrian Ulland 26-Mar-14 12:49pm    
VB is a tag which equals Visual Basic
[no name] 26-Mar-14 12:52pm    
VBA? VB6? Some version of VB.NET? Have you tried making the label wider?
Adrian Ulland 26-Mar-14 13:05pm    
VB 2013... And you can't resize a label without editing the text inside.
Sergey Alexandrovich Kryukov 26-Mar-14 13:16pm    
Next question: Label. Which one? Exact full type name, please. There are different types names as "Label". Which one?
—SA

1 solution

Thank you for clarifications in response to my questions.

If you use some right-to-left writing systems, I would strongly advise to use additional UI properties which are important to change the behavior and visualization of controls involved, such as: alignment direction, direction of navigation (by Tab), flow direction for flowing layouts, and the like:
http://msdn.microsoft.com/en-us/library/system.windows.forms.control.righttoleft%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/system.windows.forms.form.righttoleftlayout%28v=vs.110%29.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900