自动增加控件的高度以进行调整 [英] Auto increase height of controls to adjust

查看:58
本文介绍了自动增加控件的高度以进行调整的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看,我在显示像上面这样的数据。 我想要做的是增加控件高度以删除滚动条。

See, i am displaying data like above.  What i am trying to do is increase the controls height to remove scroll bar.

如果控件高度增加,那么它应该自动将下面的控件向下推。同样的条件也适用于以下控件。

If controls height increase then it should auto push the below control down. Same condition apply for the below control as well.

推荐答案

这不是用户对用户界面的期望。 请记住,屏幕空间不是无限的;在某些时候,你将需要空间,并需要滚动条。 您也可以为合理数量的
行分配固定数量的空间,并将其留在那里。
That's not what users expect of a user interface.  Remember, screen space is not infinite; at some point you will run of of space and will need the scroll bars.  You might as well just allocate a fixed amount of space for a reasonable number of lines and leave it at that.


这篇关于自动增加控件的高度以进行调整的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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