amotamed
18 Jun 2009, 6:13 PM
Hi, If I create a GXT window, and add a GWT TextArea with the boarders set to 100% to it, under IE (tested on 8, I believe the issue is on IE 6 and 7 as well) it will render the text area as only being one line big. Here is the code to create the issue (note I'm using GWT's TextArea, not GXTs). This appears to be a 2.x issue, I was not able t reproduce it using 1.x. Here is the following code to create the issue. Also, firefox 3 renders the following code correctly.
Window window = new Window( );
com.google.gwt.user.client.ui.TextArea textArea = new com.google.gwt.user.client.ui.TextArea( );
textArea.setSize( "100%", "100%" );
textArea.setText( "blah\nblah\n\naslfkjdsa;lf\n" );
window.add( textArea );
window.setVisible( true );
Window window = new Window( );
com.google.gwt.user.client.ui.TextArea textArea = new com.google.gwt.user.client.ui.TextArea( );
textArea.setSize( "100%", "100%" );
textArea.setText( "blah\nblah\n\naslfkjdsa;lf\n" );
window.add( textArea );
window.setVisible( true );