0
J'utilise Gwt,Le panneau popup GWT est transparent ??
J'ai un Label. Sur l'événement onClick
, il y a un PopupPanel
, Whre tree
est ajouté. Le problème est le popupPanel
est transparent.
lorsque le popup.show
est exécuté, le panel
derrière popupPanel
est vu à travers le popupPanel
. Comment éviter cela.
.
.
lblClass.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
getPopupPanel();
}
});
private PopupPanel getPopupPanel(){
popupPanel = new PopupPanel();
popupPanel.setStyleName("documentClass-PopPup");
int x =lblClass.getAbsoluteLeft();
int y = lblClass.getAbsoluteTop();
popupPanel.setPopupPosition(x, y+20);
popupPanel.add(getCustomPropertiesTree());
popupPanel.show();
return popupPanel;
}
CSS
.documentClass-PopPup {
margin: 2px 1px 1px;
padding: 2px 1px 1px;
border-top: thick;
border-right: medium;
border-bottom: medium;
border-left: medium;
font-size: 10pt;
letter-spacing: normal;
}