Hi
i am trying to give a message on window close in chrome, below is the code
com.smartgwt.client.widgets.Window popup = new com.smartgwt.client.widgets.Window();
popup.setWidth(400);
popup.setHeight(150);
popup.setShowMinimizeButton(false);
popup.setShowCloseButton(false);
popup.setIsModal(true);
popup.setShowModalMask(false);
popup.centerInPage();
com.smartgwt.client.widgets.layout.HLayout messagePanel = new com.smartgwt.client.widgets.layout.HLayout(16);
messagePanel.setMargin(16);
messagePanel.setAlign(com.smartgwt.client.types.Alignment.CENTER);
messagePanel.setWidth100();
messagePanel.setHeight100();
com.smartgwt.client.widgets.Label messageLabel = new com.smartgwt.client.widgets.Label(message);
messageLabel.setWidth100();
messageLabel.setAutoFit(true);
messageLabel.setWrap(true);
messagePanel.addMember(messageLabel);
popup.addItem(messagePanel);
popup.show();
but when it renders in UI as you can see below the header part is transparent
Also tried SC.confirm() , Dialog (same problem)
Using GWT 2.4.0 (works with GWT 2.6.1) to support legacy implementation.
Can anyone please help on this.
i am trying to give a message on window close in chrome, below is the code
com.smartgwt.client.widgets.Window popup = new com.smartgwt.client.widgets.Window();
popup.setWidth(400);
popup.setHeight(150);
popup.setShowMinimizeButton(false);
popup.setShowCloseButton(false);
popup.setIsModal(true);
popup.setShowModalMask(false);
popup.centerInPage();
com.smartgwt.client.widgets.layout.HLayout messagePanel = new com.smartgwt.client.widgets.layout.HLayout(16);
messagePanel.setMargin(16);
messagePanel.setAlign(com.smartgwt.client.types.Alignment.CENTER);
messagePanel.setWidth100();
messagePanel.setHeight100();
com.smartgwt.client.widgets.Label messageLabel = new com.smartgwt.client.widgets.Label(message);
messageLabel.setWidth100();
messageLabel.setAutoFit(true);
messageLabel.setWrap(true);
messagePanel.addMember(messageLabel);
popup.addItem(messagePanel);
popup.show();
but when it renders in UI as you can see below the header part is transparent
Also tried SC.confirm() , Dialog (same problem)
Using GWT 2.4.0 (works with GWT 2.6.1) to support legacy implementation.
Can anyone please help on this.
Comment