I need to remove the spacing in the text right and left side, or the text needed to fit in the border. Please see the attached image.
Thanks.
1 Answer, 1 is accepted
0
Nadya | Tech Support Engineer
Telerik team
answered on 23 Dec 2020, 09:57 AM
Hello,
If you want to remove the spacing in the text at the right and left sides you can set the LabelBorder.Margin property and adjust the left and right margins:
this.radLabel1.Text = "4B-2054D";
this.radLabel1.LabelElement.LabelBorder.Margin = new Padding(2, 0, 4, 0);
I hope this helps. Should you have other questions do not hesitate to contact me.
Regards,
Nadya
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.