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

[Solved] ComboBox appearnce distorted when increasing font size

1 Answer 141 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Anar
Top achievements
Rank 1
Anar asked on 18 Dec 2009, 08:20 AM

Hello Everyone!

How do I increase font size in RadComboBox (2009 Q3 release)?

            <telerik:RadComboBox ID="RadComboBox1" runat="server" Skin="Office2007" Font-Size="14pt">  
                <Items> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem1" Value="RadComboBoxItem1" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem2" Value="RadComboBoxItem2" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem3" Value="RadComboBoxItem3" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem4" Value="RadComboBoxItem4" /> 
                    <telerik:RadComboBoxItem runat="server" Text="RadComboBoxItem5" Value="RadComboBoxItem5" /> 
                </Items> 
            </telerik:RadComboBox> 

 

Setting font size property leads to the picture attached

Setting height property does not help.

Observed with IE 6,7,8.
Not appearing in Firefox.

Thank You!

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 18 Dec 2009, 01:38 PM
Hello Anar,

RadComboBox has fixed height and that's why this font-size doesn't look good.  Please set it to 12 pt and also add the following css styles:

<style type="text/css">
    div.RadComboBox .rcbInputCell .rcbInput {
        padding-top: 0;
    }
</style>

Best wishes,
Yana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Anar
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or