Hi All,
I have a DisclosurePanel, so when I open it all the widgets in my
container stays in the same place, so the content in my
DisclosurePanel its mixed with the other components in the container.
here is a the code
final WidgetContainer container = getContent();
private DisclosurePanel discPanel = new DisclosurePanel();
discPanel.setHeader(new Label(" Click here to show Help. "));
discPanel.setContent(new Label("This is the help....."));
discPanel.addEventHandler(new DisclosureHandler()
{
public void onClose(DisclosureEvent event)
{
discPanel.setHeight("10px");
c.add(discPanel);
}
public void onOpen(DisclosureEvent event)
{
discPanel.setHeight("50px");
c.add(discPanel);
}
});
container .add(discPanel);
...........
Thanks for the help
Obed
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---