Dropdown list not located directly below control when aspect ratio is changed

2 posts, 0 answers
  1. Grant Fish
    Grant Fish avatar
    10 posts
    Member since:
    Apr 2010

    Posted 01 Jul 2014 Link to this post

    I am having a problem with the location of the dropdown list associated with the RadDropDownList control. All of the development has been done on a monitor with a 4 x 3 aspect ratio and the list is always in the correct position. When the application is moved to a monitor with a 9 x 16 aspect ratio, the dropdown list appears far below the control if the control is located near the top of the screen.
  2. Dess
    Dess avatar
    1562 posts

    Posted 04 Jul 2014 Link to this post

    Hello Grant,

    Thank you for writing.

    The aspect ratio or the screen size alone should not cause such issues as the primary measurement unit in WinForms is the screen pixel. However, if the screens run on systems with different DPI settings (or if you are using Windows 8.1 which allows per-monitor DPI settings), issues like the one described are possible. The WinForms platform has its own scaling mechanism which calculates the scaling difference between the system that the form has been designed on and the system it is running on. Then it modifies the size and the location of all controls according to the calculated factor. Please refer to our WinForms scaling at large DPI settings – is it even possible? blog post which would be quite useful about this topic.

    If you are still experiencing any difficulties, it would be greatly appreciated if you provide a sample project along with information about the DPI settings of the different screens. Thus, we would be able to investigate the precise case and assist you further. Thank you in advance.

    I hope this information helps. Should you have further questions, I would be glad to help.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft R3 2016 release webinar banner
Back to Top