简体   繁体   中英

about the User Interface resolution

I'm developing an user interface of my application . and for the designing I'm using devXpress controls. and I'm developing application in the C# windows forms.

I've developed the user interface of my application but when I'm changing my computers resolution setting then that time my user interface design changes according to the size of all the controls. But it should not happened with the user interface. how to resolve this problem? is there any solution for resolving this problem?

考虑不要为控件设置绝对位置,而应使用Control.Dock和Control.Anchor属性将它们相对于其父级和/或同级元素放置。

If I understand correctly you want to scale instead of resize.

Did you try changing the DPI of your desktop instead of the resolution?

WinForms might support that (I haven't tried it) but in general WinForms forms do not scale. WPF apps support scaling very well because WPF uses vectors.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM