Answer:
We can resize toolbar size by calling the ‘RefreshUI public method of the Rich Text Editor in the ‘Resizing’ event of the Dialog.
<SfDialog @ref="@dialogObj" Height="80%" Width="1000px" AllowDragging="true" IsModal="true" ShowCloseIcon="true" Visible="false" EnableResize="true"> <DialogEvents Opened="@OnDialogOpen" Closed="@CancelButton" Resizing="@DialogResizing"></DialogEvents> <p>Dialog with Rich Text Editor</p> <SfRichTextEditor @ref="RteObj" Height="100%" Width="100%" MaxLength=7000> <p>Rich Text Editor Content</p> <DialogButton Content="OK" IsPrimary="true" OnClick="@OkButton" /> <DialogButton Content="Cancel" OnClick="@CancelButton" /> public void OnDialogOpen() public void DialogResizing() |
Find the sample to resize RichTextEditor toolbar when using a Dialog window from here.