How to change the text indent?

3 posts, 1 answers
  1. Paul
    Paul avatar
    34 posts
    Member since:
    Apr 2017

    Posted 24 Apr Link to this post

    Hello,

    I tried to remove the text indent of RadLabel but i couldn't.

    Should I make the RadLabel's text have no any indents?

    As in the attachment, I already set the margin and padding to 0

    Please help me

     

    Thanks,

  2. Answer
    Dimitar
    Admin
    Dimitar avatar
    1871 posts

    Posted 25 Apr Link to this post

    Hi Paul, 

    You can use negative padding for this:
    radLabel1.LabelElement.Padding = new Padding(-3, 0, 0, 0);

    Do not hesitate to contact us if you have other questions.
     
    Regards,
    Dimitar
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
  3. Paul
    Paul avatar
    34 posts
    Member since:
    Apr 2017

    Posted 25 Apr in reply to Dimitar Link to this post

    Hello Dimitar,

    Your solution working well for me

    Thanks you so much for your help

    Regard,

    Paull

Back to Top