Updating from Version 2022.1.118 to 2022.1.222 breaks high dpi layout for existing dialogs at 150% DPI scaling:
Expected:
Actual:
Workaround: Use the MS Form
VS 2022, Telerik 2022.2.510, NET 6.0 (sample app is attached)
1. Creating sample Telerik WinForms App.
2. Add a RadTextBox
3. Load Event with code
radTextBox1.Text = this.Size.ToString();
4. Run the App
5. Close the App
6. Move the RadTextBox Control at design time.
In design, the height of the form is 2 pixels taller.
Run these steps in a loop. After a few hours of work, the form exceeds the size of the screen.
Setting the ShowIcon to false hides the icon. You then decide to show the icon again, and you set ShowIcon back to true. However, the icon does not appear again.
Steps to reproduce: 1. Add a RadPropertyGrid to a form and subscribe for the PropertyValidating event 2. In the event handler show a RadMessageBox Run the project and change a property. Try to save the value and you will see an exception.
After each call to the Show method of RadMessageBox, the message box form is disposed. This causes each new call to Instance (or Show which internally calls Instance) to create a new instance of a message box form, loosing any user settings.
Workaround: ((RadFormControlBase)this).MinimumSize = new Size(350, 350); ((RadFormControlBase)this).MaximumSize = new Size(350, 350);
RadRibbonForm back stage button is missplaced when in maximized state with office2010SilverTheme Workarouond: Set the margin when the window is set to maximize. void Form1_Resize(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Maximized) { this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Margin = new Padding(3, 35, 3, 0); } else { this.radRibbonBar1.RibbonBarElement.ApplicationButtonElement.Margin = new Padding(3, 33, 3, 0); } }
To reproduce: -Set RTL via the insane: RadMessageBox.Instance.RightToLeft = RightToLeft.Yes; - You will notice that layout is not changed when the messagebox is shown. Worlaround: - Use the RadMessageBox show method with the following parameters: RadMessageBox.Show(this, "test", "caption", MessageBoxButtons.OKCancel, icon, MessageBoxDefaultButton.Button1, RightToLeft.Yes);
If RadForm is an MDI child and it initially appears as Maximized, there is some space left between the bottom border of the child form and the bottom border of the parent form. In order to reprodue the issue, you should also have a RadMenu docked to top that has size bigger than its default size.
Option to show RadMessageBox in task bar Resolution: You can use the following code snippet show the message box in the taskbar: RadMessageBox.Instance.ShowInTaskbar = true;
When HTML-formatted text is displayed in RadMessageBox, it is cut off on the right.
When you are navigating repeatedly between the buttons in RadMessageBox using the arrow keys, at one of the steps none of the buttons is focused.
Form command buttons incorrectly become visible in the following scenario: 1. Create a new Form. 2. Make the Form inherit from the RadRibbonForm class, or use the RadRibbonForm behavior. 3. Launch the application to display the new Form. 4. Click a few pixels below the Close, Maximize or Minimize buttons. 5. White buttons will appear with the same functionality as the Close, Maximize and Minimize buttons.
To reproduce: Create a RadForm set Maxmize/Minimize box to false. Run it and try to drag the form by clicking on where the buttons used to be. Workaround: void MainForm_Load(object sender, EventArgs e) { this.FormElement.TitleBar.MaximizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; this.FormElement.TitleBar.MinimizeButton.Visibility = Telerik.WinControls.ElementVisibility.Collapsed; }
When setting an icon to RadForm, it should be resized automatically.
When you set the WindowState property to Maximized, the FormBorderStyle to None and the TopMost property to true, the RadForm does not render correctly if its size is equal to the screen size.
To reproduce: -add a RadForm and specify its Icon property; -modify Resources area on project's Properties -> Application tab in order to add Icon and manifest; -run the project and you will notice that the specified icon is displayed in the taskbar. However, Alt+Tab panel does not display the certain RadForm's icon.
FIX. RadRibbonForm - ApplicationButtonElement and QuickAccessToolBar are cut off when Aero if off and the form is maximized
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