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

RadDropDownButton - Image Issue

2 Answers 69 Views
Buttons, RadioButton, CheckBox, etc
This is a migrated thread and some comments may be shown as answers.
peter
Top achievements
Rank 1
peter asked on 16 Apr 2009, 03:49 PM
Hi there,
I added a RDDB (trial version) to my form with text (allignment: middle centre) and an image (icon, textimagerelation: overlay). All well. But the icon is placed (by default) completely to the left (on the edge) of the buttom. Not nice. So I tweeked it a little (Edit UI Elements). Set the ImagePrimitive location to 20,0. Ah, great, exactly the position of the icon I want on the button! Tthat is, in design view. When I run the form, the icon is back to its old position, at the edge of the button.  
How to resolve?

Regards,
Peter.

2 Answers, 1 is accepted

Sort by
0
peter
Top achievements
Rank 1
answered on 16 Apr 2009, 03:53 PM
A workaround is to set the padding... I thought I tried that before. Apperently not.
0
Nikolay
Telerik team
answered on 17 Apr 2009, 08:54 AM
Hi peter,

I suppose that you want your image to be center-aligned in the RadDropDownButton. We have the property ImageAlignment which you need in this case. Just set it to MiddleCenter and you will have the image under the text and in the center of the RadDropDownButton.

If you have additional questions, feel free to contact me.

Kind regards,
Nikolay
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Buttons, RadioButton, CheckBox, etc
Asked by
peter
Top achievements
Rank 1
Answers by
peter
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or