本文介绍了自动增加控件的高度以进行调整的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
看,我在显示像上面这样的数据。我想要做的是增加控件高度以删除滚动条。
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.
更多推荐
自动增加控件的高度以进行调整
发布评论