How to Resize Dialog Box in LWUIT?

自闭症网瘾萝莉.ら 提交于 2019-12-11 09:48:08

问题


I have Created one Program Using Lwuit,Midlet. In that program I am showing Dialog box on the screen (LWUIT component) when I press mobile key. It shows default size. But I want to resize it.

How can I resize the Dialog Box in LWUIT?


回答1:


Use this Dialog#Show method for showing resized Dialog. For example,

Dialog dialog = new Dialog("Information");
dialog.show(0, 100, 11, 11, true);


来源:https://stackoverflow.com/questions/8799366/how-to-resize-dialog-box-in-lwuit

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!