Skip to main content

Dialog Rotate Probkem

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
1 reply [Last post]
jacostgroup
Offline
Joined: 2011-01-12

Hi I have a problem with my BB Torch when the device rotate and I have a Dialog that shows
I create a simple dialog
Dialog dial = new Dialog();
dial.setLayout(new BorderLayout());
dial.addComponent(BorderLayout.NORTH,new Label("My Label"));
dial.show(0,0,0,0,true,true);
When the device rotate it does not fill the screen it redraws it smaller than it should
Can provide screenshots if required
BUT
If I add a TextField that runs over the screens width (50 columns) it works fine when it rotates
Dialog dial = new Dialog();
dial.setLayout(new BorderLayout());
dial.addComponent(BorderLayout.NORTH,new TextField(50);
dial.show(0,0,0,0,true,true);
I am using the latest svn and it only happens on the torch device (not emulator).
Any ideas?
Thanks

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

Sounds like issue 411 which I am working on. If my latest commit didn't fix this issue then rest assured I'm still working on nailing this particular issue.