This is a migrated thread and some comments may be shown as answers.

Problem resize form

1 Answer 32 Views
Documentation
This is a migrated thread and some comments may be shown as answers.
Gerenciador
Top achievements
Rank 1
Gerenciador asked on 16 Feb 2021, 05:11 PM

Hello,

We are having an issue with our application on high DPI monitors. When the PdfViewer loads a document, it resizes the whole application. The issue only occurs with the published application. It does not happen on debug mode. See attached video.

Thank you,

video: https://drive.google.com/file/d/1N_JkCRQ6GNOYgsL3PrwOYm0hOBPpaGn8/view?usp=sharing

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Feb 2021, 05:31 AM

Hello,

According to the provided description and sample video, it seems that you hit a known situation when running the application on high DPI monitors. Your application becomes smaller when exporting data or it is using cross platform controls (RadPdfViewer, RadRichTextEditor, RadSpreadsheetEditor, RadDiagram, the Document Processing Library). This happens because we are using WPF assemblies where the DPI awareness is enabled at assembly level. When a type from such assembly is initialized the application becomes DPI aware and the controls will became smaller.

Please have a look at the following KB article which offers you different approaches how you can handle this case: https://docs.telerik.com/devtools/winforms/knowledge-base/app-becomes-dpi-aware 

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
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/.

Tags
Documentation
Asked by
Gerenciador
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or