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

Visual glitch

9 Answers 66 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
DoomerDGR8 asked on 04 Feb 2011, 10:56 AM
I have a RadDropDownListElement in a Horizontal RadBibbonBarButtonGroup. I have attached the a screen-shot. You can see that the TextBox of the RadDropDownListElement is of a slight small height and thus an extra line effect is seen. Also, the TextBox is also slightly overflow-top-aligned too.. How can I fix this?

9 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Feb 2011, 10:50 AM
Hello Hassan,

Thank you for the writing.

You should update the Margin of the RadDropDownElement's EditableArea, for example:

this.radDropDownListElement1.EditableElement.Margin = new Padding(0, 0, 0, -2);

I hope this helps.

 

Regards,
Peter
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 09 Feb 2011, 12:00 PM
It worked. I made the changes within the .Designer.cs file. Shouldn't this be like fixed? I mean it still looks weird as the outer border of the... thing encapsulating the Editor is ZIndexed below. See screen again...
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 10 Feb 2011, 03:57 PM
Awaiting any reply...
0
Peter
Telerik team
answered on 11 Feb 2011, 05:27 PM
Hi Hassan,

Thank you for the provided feedback.

These elements hosted in RadRibbonBar Group are located in StackLayoutPanel - this layout panel does not apply spacing between elements by default. In your case adjust manually the Padding/Margin between the elements, as shown in previous sample code. If you send us your application I will be able to adjust the elements.
 
Please, excuse us for the inconvenience.

All the best,
Peter
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 11 Feb 2011, 05:43 PM
It looks very un-professional in Desert theme but looks somewhat acceptable in the Aqua, Breeze, and Default theme. I can only create a new project as my current application is way to complex to tear off this particular bit... or maybe i can visually copy-paste the ribbonbar... hmmmm..
0
Peter
Telerik team
answered on 17 Feb 2011, 11:53 AM
Hi Hassan,

I agree that this is not the best way to address the issue. We will do the necessary to make the themes better and think over the options to make them more convenient for edit.

Did you manage to solve the problem? If not, please give us more details on what you would like to achieve and we will try to cooperate to find out a solution.

Greetings,
Peter
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 17 Feb 2011, 02:25 PM
No luck so far. i had to switch to Telerik's default theme and found it to be much more forgiving.
0
Peter
Telerik team
answered on 22 Feb 2011, 08:08 AM
Hello Hassan,

Yes - the default theme sets Padding/Margin between the elements by default.
We will consider including these settings in the Desert theme as well.

Do not hesitate to contact us if you have other questions.

Regards,
Peter
the Telerik team
0
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 22 Feb 2011, 10:28 AM
Much obliged.
Tags
RibbonBar
Asked by
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
Answers by
Peter
Telerik team
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Veteran
Share this question
or