Visual glitch

10 posts, 0 answers
  1. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 04 Feb 2011 Link to this post

    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?
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 09 Feb 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 09 Feb 2011 Link to this post

    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...
  5. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 10 Feb 2011 Link to this post

    Awaiting any reply...
  6. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 11 Feb 2011 Link to this post

    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.
  7. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 11 Feb 2011 Link to this post

    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..
  8. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 17 Feb 2011 Link to this post

    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.
  9. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 17 Feb 2011 Link to this post

    No luck so far. i had to switch to Telerik's default theme and found it to be much more forgiving.
  10. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 22 Feb 2011 Link to this post

    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
  11. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 22 Feb 2011 Link to this post

    Much obliged.
Back to Top
UI for WinForms is Visual Studio 2017 Ready