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

Right Align?

2 Answers 79 Views
ColorPicker
This is a migrated thread and some comments may be shown as answers.
Ed Staffin
Top achievements
Rank 1
Ed Staffin asked on 15 Dec 2008, 02:56 PM
Is there a way to right align the text in a rad combo?
Thanks ... Ed

2 Answers, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 16 Dec 2008, 09:42 AM
Hello Ed,

You can either use Dir="rtl" attribute (which sets right-to-left language direction) or use the following styles:

div.RadComboBox table td.rcbInputCell { padding-left: 0; padding-right: 4px; }

div.RadComboBox table td.rcbInputCell .rcbInput { text-align: right; }

div.RadComboBoxDropDown .rcbItem,
div.RadComboBoxDropDown .rcbHovered,
div.RadComboBoxDropDown .rcbDisabled,
div.RadComboBoxDropDown .rcbLoading
{
    padding: 4px 4px 4px 20px;
    text-align: right;
}

All the best,
Alex
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dhamodharan
Top achievements
Rank 1
answered on 07 May 2012, 11:05 AM
Hi,

How do i set for particular radcombobox id.

Thanks,
Dhamu.
Tags
ColorPicker
Asked by
Ed Staffin
Top achievements
Rank 1
Answers by
Alex Gyoshev
Telerik team
Dhamodharan
Top achievements
Rank 1
Share this question
or