Completed
Last Updated: 27 Oct 2014 11:00 by ADMIN
ADMIN
Stefan
Created on: 19 Mar 2013 04:58
Category: Form
Type: Bug Report
1
FIX. RadMessageBox - the dialog does not size itself correctly, when the inner control's font is changed
To reproduce:
  RadMessageBox.Instance.Font = new Font("Segoe UI", 10);
            foreach (Control c in RadMessageBox.Instance.Controls)
            {
                c.Font = new Font("Segoe UI", 14);
            }
            RadMessageBox.SetThemeName("TelerikMetro");

            RadMessageBox.Show("test", "test2", MessageBoxButtons.YesNoCancel,                  
            RadMessageIcon.Error, MessageBoxDefaultButton.Button2);

WORKAROUND: use smaller font size
1 comment
ADMIN
Ivan Petrov
Posted on: 17 Oct 2014 14:41
We have added a ButtonSize property which will allow developers to define the size of the buttons of the message box. To access it use the following code:
RadMessageBox.Instance.ButtonSize = new Size(150, 30);