Unplanned
Last Updated: 05 Apr 2024 08:42 by ADMIN
Eddie
Created on: 05 Apr 2024 08:35
Category: RichTextEditor
Type: Bug Report
0
RadRichTextEditor: In the Fluent theme the Font Size Dropdown of the SelectionMiniToolBar is not wide enough

In the Fluent theme, the Font Size Dropdown of the SelectionMiniToolBar is not wide enough.

1 comment
ADMIN
Dinko | Tech Support Engineer
Posted on: 05 Apr 2024 08:42

Hi Eddie,

Thank you for reporting this behavior.

To workaround it, you can manually increase the size of the font size dropdown control in the SelectionMiniToolBar. Here is how you can do that.

public  class CustomSelectionMiniToolBar : SelectionMiniToolBar
{
    public CustomSelectionMiniToolBar()
    {
        var test = this.Controls[12] as RadDropDownList;
        test.Size = new System.Drawing.Size(test.Size.Width + 5, test.Size.Height);
    }
}

this.radRichTextEditor1.IsSelectionMiniToolBarEnabled = true;
this.radRichTextEditor1.RichTextBoxElement.SelectionMiniToolBar = new CustomSelectionMiniToolBar();

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.