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

Setting Row Height w/Template

1 Answer 65 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
dhuss
Top achievements
Rank 1
dhuss asked on 26 Sep 2012, 10:40 PM
I am using a custom skin for my controls. In my ComboBox.css I have the following CSS code:
.RadComboBox_Hew .rcbInput,
.RadComboBox_Hew .rcbInputCell
{
    text-transform: uppercase;
    height:auto;
}
 This works fine for a radComboBox that doesn't use a header/item template. The row height matches the font height. When used with a radComboBox with a template, the row height is roughly twice the height of the font. What CSS tag do I need to use to control the row height when using a template?




1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 28 Sep 2012, 03:09 PM
Hi Dennis,

You could try to use the .rcbTemplate and .rcbInput selectors in order to apply the desired styles. Please consider the following approach :

<style type="text/css">
        .rcbInput {
            text-transform: uppercase;
        }
        .rcbTemplate {
            text-transform: uppercase;
            height: 30px !important;
        }
    </style>


Kind regards,
Nencho
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
ComboBox
Asked by
dhuss
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or