多个按钮具有相同的宽度为最宽的按钮 [英] Multiple buttons with same width equal to widest button

查看:125
本文介绍了多个按钮具有相同的宽度为最宽的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个VerticalFieldManager多个ButtonFields。默认每个按钮的宽度取决于它包含的文本。

I have multiple ButtonFields in a VerticalFieldManager. By default the width of each button depends on the text it contains.

我想所有的按钮是相同的宽度 - 等于最宽按钮的宽度

I would like all the buttons to be of the same width - equal to the width of the widest button.

推荐答案

看看黑莓开发者知识库:结果
<一href=\"http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/How_to_-_Implement_advanced_buttons,_fields,_and_managers.html?nodeid=2406256&vernum=0\"相对=nofollow>如何 - 实现高级按钮,字段和经理结果
最后更新时间:2010年2月12日结果
文章编号:DB-00796

Take a look at the BlackBerry Developers Knowledge Base:
How to - Implement advanced buttons, fields, and managers
Last Updated: 12 February 2010
Article Number: DB-00796

您可能正在寻找VerticalButtonFieldSet!

You are probably looking for the VerticalButtonFieldSet!

这篇关于多个按钮具有相同的宽度为最宽的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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