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

change border color and thickness

1 Answer 292 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
francis
Top achievements
Rank 1
francis asked on 10 Aug 2011, 03:15 AM
Hello,

I have a form with raddropdownlists and am using the 2010Office black theme.

When a dropdownlist has focus the border turns orange.  is there a way to make the border thicker so that the orange border stands out more when the dropdown list has focus?

thanks in advance,
Francis

1 Answer, 1 is accepted

Sort by
0
Alexander
Telerik team
answered on 11 Aug 2011, 03:02 PM
Hello Francis,

Thank you for your question.

You can customize the built-in Office2010Black theme using the Visual Style Builder tool. This help article demonstrates how to export the build-in themes and this one - how to save and load your custom themes.

To modify the Office2010Black theme according to your requirements, you could follow the steps:
1. Load the theme in Visual Style Builder and expand the control structure of RadDropDownList.
2. Select RadDropDownListElement from the control structure and DropDownListBorder from the Elements panel.
3. The ContainsFocus and ContainsMouse states of the element have assigned the DropDownListHoverBorder repository item. Increase the value of the Width property in this repository item - for example to 4.
4. Increase the Margin property of RadDropDownListEditableAreaElement to 4, 4, 0, 4 and the Margin property of RadDropDownListArrowButtonElement to 0, 4, 4, 4. It will increase the size of the control so the border does not hide its elements.

I have attached the updated Office2010Black theme according to the steps above for your reference. Please let me know if I can assist you further.

Best regards,
Alexander
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
DropDownList
Asked by
francis
Top achievements
Rank 1
Answers by
Alexander
Telerik team
Share this question
or