We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Label Wrap Text

How to avoid, text wraps in the Gradient label control? thanks

3 Replies

DJ Davis Jebaraj Syncfusion Team June 4, 2003 04:45 PM

Hi, The GradientLabel is derived from the Windows Forms Label control and affects its background and border appearance only. The wrapping behavior is inherited from the base Label class. The Label class normally wraps the text based on the length of the text compared to the width of the control. What is the alternative you are looking for in the event that the text length cannot be accomodated in one line? Please let us have your requirement in this regard and we will check if we can do anything to provide the required behavior. Thank you for your patience. Regards, Davis


AN Alexandre Nicholas June 5, 2003 12:01 AM

The problem is that my label height is bigger thant the text height (say 3 times). So the text appears on more on line.What i want is that the text stay on middle and don't wrap on the space's control left Is it posssible :-) ? thanks


DJ Davis Jebaraj Syncfusion Team June 11, 2003 07:43 AM

Hi, Do you have the TextAlign property set to MiddleCenter. Regards, Davis

Loader.
Live Chat Icon For mobile
Up arrow icon