This is a migrated thread and some comments may be shown as answers.

space between chekbox and the text of the checkbox

1 Answer 467 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sason
Top achievements
Rank 1
Sason asked on 01 Sep 2010, 10:51 AM

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.

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 07 Sep 2010, 08:15 AM
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
Tags
General Discussions
Asked by
Sason
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or