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

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

1 Answer 15 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
IT Department
Top achievements
Rank 1
IT Department asked on 01 Jul 2014, 06:41 PM
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.

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 04 Jul 2014, 02:33 PM
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.

Regards,
Desislava
Telerik
 
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.
 
Tags
DropDownList
Asked by
IT Department
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or