Hi all,

I am using Disclosure panel in my project and on open/close, I do some 
layout calculations in which I need the height of the panel.

My code is something like this
disclosurePanel.addOpenHandler(new OpenHandler<DisclosurePanel>() {
        @Override
        public void onOpen(OpenEvent<DisclosurePanel> arg0) {
           adjustPageLayout(pageLayout);
        }
      });

The problem is that the open event is fired before the disclosure panel is 
actually opened, which means that the height of the panel is still as if it 
is closed (Header-only height). This gives me wrong numbers when I 
call adjustPageLayout

Any idea how to deal with this?

Best regards,
Rasha 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/ekunpDji33IJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to