如何解决弹性列表更改大小
| 我有一个火花列表,其定义如下:<s:List id=\"nextRoundButtonList\" includeIn=\"TournamentQuestion\" y=\"563\" width=\"480\" height=\"32\"
change=\"nextRoundClicked(event)\" color=\"#32CD32\" contentBackgroundColor=\"#3B4CA1\"
fontSize=\"24\" horizontalCenter=\"0\" textAlign=\"center\">
在代码的后面,我想更改列表的高度,但是这样做很麻烦。我都尝试过
nextRoundButtonList.setActualSize(nextRoundButtonList.width,64);
和
nextRoundButtonList.height = 64;
但这些似乎都不起作用。如何动态更改列表的高度?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。