Problems with controls resolution

4 posts, 0 answers
  1. Marco
    Marco avatar
    2 posts
    Member since:
    Sep 2008

    Posted 11 Sep 2008 Link to this post

    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?
  2. Peter
    Admin
    Peter avatar
    1159 posts

    Posted 12 Sep 2008 Link to this post

    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.
  3. Marco
    Marco avatar
    2 posts
    Member since:
    Sep 2008

    Posted 12 Sep 2008 Link to this post

    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?
  4. Nikolay
    Admin
    Nikolay avatar
    1805 posts

    Posted 16 Sep 2008 Link to this post

    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.
Back to Top