space between chekbox and the text of the checkbox

2 posts, 0 answers
  1. Sason
    Sason avatar
    32 posts
    Member since:
    Aug 2012

    Posted 01 Sep 2010 Link to this post

    Hi,

    I need to display space between box and text in checkbox.

    The only properly who seems to handle this behaviour is the TextAlignment.

    But when I set the TextAlignmet to be left the space that appear is very small.

    Is there any other property that can answer my needs?

     

    Thank you.

  2. Stefan
    Admin
    Stefan avatar
    2908 posts

    Posted 07 Sep 2010 Link to this post

    Hi Dror,

    Thank you for writing.

    Please consider the following code snippet in order to change the space between the box and the text in RadCheckBox:
    radCheckBox1.RootElement.Children[0].Children[1].Children[0].Margin = new Padding(10, 0, 0, 0);

    I hope you find this information helpful. If there is anything else we can assist you with, do not hesitate to contact us.

    Best wishes,
    Stefan
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top