Completed
Last Updated: 08 Aug 2022 10:24 by ADMIN
Release R3 2022 (LIB 2022.2.808)
Iprel
Created on: 22 Jun 2022 12:13
Category: MessageBox
Type: Bug Report
1
RadMessageBox: Cancel button is clipped at 125% DPI scaling

Follow the code:

    internal static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            RadControl.EnableRadAutoScale = true;
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);


            string text = "Are you sure you want to exit?";
            string caption = "Application";
            RadMessageIcon icon = RadMessageIcon.Question;
            RadMessageBox.Show(text, caption, MessageBoxButtons.YesNo, icon);

            RadMessageBox.Show(text, caption, MessageBoxButtons.YesNoCancel, icon); 
       

When the application is run on a main monitor with 125% DPI scaling, the following result is observed:

Workaround: 

RadControl.EnableRadAutoScale = false;

Attached Files:
0 comments