On 17 juil, 19:49, Ashley Wong <[email protected]> wrote:
> Refering to the GWT showcase, the checkbox is lined up naturally
> (http://gwt.google.com/samples/Showcase/Showcase.html#CwFlowPanel).
> But I cannot make the Hyperlink flow naturally. Each hyperlink is
> placed on the other line.
>
> Code:
> FlowPanel panel = new FlowPanel();
> panel.add(new Hyperlink("A", ""));
> panel.add(new Hyperlink("B", ""));
> panel.add(new Hyperlink("C", ""));
> panel.add(new Hyperlink("D", ""));
> RootPanel.get("canvas").add(panel);
>
> Can anyone help? Thank you.
Use an InlineHyperlink instead:
http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/client/ui/InlineHyperlink.html
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---