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

changing the checkbox size

1 Answer 820 Views
CheckBox
This is a migrated thread and some comments may be shown as answers.
Todd A
Top achievements
Rank 1
Todd A asked on 11 May 2016, 11:21 PM

I would like to increase the size of the checkbox to make it easier for users to check.  Is there a simple way to do that with the new radCheckbox control?

 

Thanks,

Todd.

 

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 13 May 2016, 07:03 AM

Hello Todd,

RadCheckBox offers elastic design so changing the font-size of the page/control will increase/decrease its size: http://docs.telerik.com/devtools/aspnet-ajax/controls/checkbox/mobile-support/elastic-design.

Here is the basic example you can also see in the article:

<style type="text/css">
    button.RadCheckBox {
        font-size: 26px;
    }
</style>
 
<telerik:RadCheckBox runat="server" ID="RadCheckBox1" Text="Elastic CheckBox Button" Checked="true">
</telerik:RadCheckBox>

And here is a small example that only changes the checkbox size without the label, even though I do not find it very appealing

button.RadCheckBox .rbIcon  {
    font-size: 26px;
}


Regards,

Marin Bratanov
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
CheckBox
Asked by
Todd A
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or