Unplanned
Last Updated: 16 Feb 2023 11:08 by ADMIN
bernox
Created on: 16 Feb 2023 10:58
Category: Form
Type: Bug Report
1
RadForm: Anchored to all sides control gets clipped when the form is started maximized higher than 100% DPI scaling
Create a new project with an anchored control in all corners. You can simply do the test, insert a scheduler or gridview, snap on all corners, set WindowsState to maximized and start the program with a DPI of even 125%, and see the problem right away. Tested with new projects both in Net Framework and .Net. I also tried creating a new instance of Winforms and setting the Windowstate from there by code, but the problem remains.
1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 16 Feb 2023 11:08

Hi, Davide,

Thank you for bringing this to our attention. Currently, due to the specificity of the DPI scaling, the possible solution that I can suggest is to set the WindowState to Maximized in the form's Shown event:

    Private Sub RadForm1_Shown(sender As Object, e As EventArgs) Handles MyBase.Shown
        Me.WindowState = FormWindowState.Maximized
    End Sub

I hope this helps.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.