Anyone can help?
On Dec 6, 11:49 am, Jean-Claude Antonio <[email protected]> wrote:
> Hello,
>
> I place a panel in an AbsolutePanel in a Window.
> This works, until I add a tooltip for that panel which prevents the
> window to appear.
> Tooltip works though when AbsolutePanel is not used in the window.
>
> Is there a workaround?
> Thanks in advance.
>
> Button closeBtn = new Button("run");
> closeBtn.addListener(new ButtonListenerAdapter() {
> public void onClick(Button button, EventObject e) {
> Window window = new Window(){{
> setTitle("My Window");
> setModal(true);
> setWidth(620);
> setHeight(360);
> }};
>
> AbsolutePanel area = new AbsolutePanel();
> window.add(area);
>
> Panel collapsiblePanel = new Panel();
> collapsiblePanel.setTitle("title");
> collapsiblePanel.setCollapsed(true);
> collapsiblePanel.setCollapsible(true);
>
> //Lines causing problem
> ToolTip tip1 = new ToolTip();
> tip1.setHtml("tooltip title");
> tip1.applyTo(collapsiblePanel);
>
> area.add(collapsiblePanel, 10,10);
> window.show();
> }
> }
> );
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---