--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
public class LoginForm extends PopupPanel {
public LoginForm(){
this.setStyleName("bwPopupPanel");
this.setGlassEnabled(true);
this.add(new LoginFields()); //LoginFields is a class defined using
UIBinder to position the layout contained in the popup
this.center();
}
}
//..........Different class..........
private void showLoginPopUp() {
@SuppressWarnings("unused")
LoginForm loginPanel = new LoginForm();
}
On Mar 12, 5:07 pm, Jim Douglas <jdoug...@basis.com> wrote:
> Have you reviewed the sample -- with detailed comments -- near the top
> of the javadoc page?
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/g...
On Mar 15, 6:37 am, mariyan nenchev <nenchev.mari...@gmail.com> wrote:
> No, i did not.
Secondly, make sure you don't have a style defined such as
.gwt-DialogBox {
width: 350px;
}
In your main .css file. If you do, remove it. The starter GWT
application usually defines this.
If you do these two things it should work OK. You only need to call
center(), not center then show().