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

Problems with controls resolution

3 Answers 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marco
Top achievements
Rank 1
Marco asked on 11 Sep 2008, 08:51 PM
I am having problems when i compile an application and then i install the application in the pc client; the problem is that the controls shows cutted, the controls does not show well in a 1280 x 1024 resolution monitor.

How can i solve this issue?

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 12 Sep 2008, 04:22 PM
Hello Marco,

We could not reproduce the issue you described. Could you share more details about client configuration (like Font DPI, OS version, .NET version) or if possible send us a sample project that we can use to test locally and identify the problem?

Thanks in advance.

 
Regards,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Marco
Top achievements
Rank 1
answered on 12 Sep 2008, 10:25 PM
Hi Peter,

Thanks for respond. Those are the details of the client:

120 dpi
Windows XP version 2002 SP2
Microsoft Visual Studio 2008 Framework 3.5

The 120 dpi i have changed for 96 dpi and in the code, i have changed the AutoScaleMode to None for the forms and AutoSize to false for all labels and telerik ComboBox (some labels are default controls and another are telerik) but the labels now are showing cutted. The problem with the form is solved, but the labels are still showing cutted.

What can i do?
0
Nikolay
Telerik team
answered on 16 Sep 2008, 03:28 PM
Hello Marco,

It is correct to set the AutoScaleMode to None. In addition, please note that you should do this in the designer, because it should be set before the moment when ResumeLayout(false) of the form is called.

However, it is not correct to set AutoSize of the labels to false, as this may lead to the behavior you are observing. Instead, set AutoSize to true, and the labels will be resized according to their content. This way no cutting should happen.

If you have additional questions, feel free to contact me.
 

Kind regards,
Nikolay
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Marco
Top achievements
Rank 1
Answers by
Peter
Telerik team
Marco
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or