Normaly when you create tab it is set word wrap false and when you
want to change it is not set end your text can be on multiple lines.

here is workaroud:

public void setTabText(int index, String text) {
                Composite delPanel = (Composite) ((HorizontalPanel)
bar.getWidget()).getWidget(index + 1);
                Label label = new Label(text);
                label.setWordWrap(false);
                getFocusablePanel(delPanel).setWidget(label);
        }

        native SimplePanel getFocusablePanel(Composite panel) /*-{
        return
[EMAIL PROTECTED]::getFocusablePanel()
();
        }-*/;

you need to extend TabBar and make getWidget public .

gwt 1.5.2
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to