在窗口大小调整面板中移动控件 [英] Move the controls in a panel on window resize

查看:85
本文介绍了在窗口大小调整面板中移动控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

调整窗口大小后如何在面板中移动控件?
锚属性不起作用.
在运行时添加控件,并且在大屏幕监视器中加载位置/值时,它们会放错位置.

谢谢.

How to move the controls in a panel when the window is resized?
Anchor property is not working.
Controls are added at runtime and when the locations/values are loaded in large screen monitor, they are misplaced.

Thank you.

推荐答案

我在这里回答了类似的问题:
I answered a similar Question here: Zom Out malfunctions when Screen resolution changes[^].

Generally, this is not a problem: check you math.

—SA


您可以使用Duck或anchor解决您的问题:rose:
you can use Duck or anchor to solve your problem :rose:


这篇关于在窗口大小调整面板中移动控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆