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.
1 Answer, 1 is accepted
answered on 23 Dec 2020, 09:57 AM
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.
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/.