Because of the problems that have been noticed in
http://code.google.com/p/google-web-toolkit/issues/detail?id=4694
I am trying to use the forcelayout function, in a tablayout panel, but
without any success. Here is my code:
myTabPanel.addSelectionHandler(new SelectionHandler<Integer>() {
@Override
public void onSelection(SelectionEvent<Integer> e) {
LayoutPanel tempLayoutPanel = (LayoutPanel)
myTabPanel.getWidget(e.getSelectedItem());
tempLayoutPanel.forceLayout();
}
});
What I am doing wrong here?
--
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.