PDA

View Full Version : Resize popup trouble



Timur
26 Jan 2010, 8:24 AM
When I resize popup, it hide, but not resize.
Code sample:


popup = new Popup();
popup.setBorders(true);
popup.setShadow(true);
popup.setAutoHide(true);

resizable = new Resizable(popup, "se");

Listener<BaseEvent> listener = new Listener<BaseEvent>(){
public void handleEvent(BaseEvent be) {
//IT DON'T HELP! resizable.isResizing - is false
if (resizable.isResizing()) {
be.setCancelled(true);
}
}
};
popup.addListener(Events.BeforeHide, listener);