Create a custom theme starting from Aqua theme. Change the Font for RadLabelElement-TextPrimitive to "Microsoft Sans Serif, 10pt". Save the theme and apply it to the entire application. Show several times a RadMessageBox with long text. The first time the RadMessageBox is sized correcly to its content. Each next showing, cuts off the text.
Workaround: the possible workaround that I can suggest is to dispose the RadMessageBox instance after showing it:
Private Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
RadMessageBox.Show(Me, "If you have some veeeeery long sample text, the messagebox " & _
"should be resized according to its content.", "Caption", MessageBoxButtons.OK, My.Resources.image)
RadMessageBox.Instance.Dispose()
End Sub
Hello,
This behavior was originally reported more than ten years ago, and we haven’t noticed significant demand or follow-up from the community since then. Also, there is a feasible workaround that can be applied. As a result, we currently plan to prioritize improvements that have a broader impact and are more widely requested. Feel free to use the suggested workaround.Regards,
Nadya | Tech Support Engineer
Progress Telerik