问题
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