Right Align?

3 posts, 0 answers
  1. Ed Staffin
    Ed Staffin avatar
    66 posts
    Member since:
    Nov 2008

    Posted 15 Dec 2008 Link to this post

    Is there a way to right align the text in a rad combo?
    Thanks ... Ed
  2. Alex Gyoshev
    Admin
    Alex Gyoshev avatar
    2512 posts

    Posted 16 Dec 2008 Link to this post

    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.
  3. Dhamodharan
    Dhamodharan avatar
    300 posts
    Member since:
    Sep 2010

    Posted 07 May 2012 Link to this post

    Hi,

    How do i set for particular radcombobox id.

    Thanks,
    Dhamu.
Back to Top