maybe this will help you
put the title area on top of your window; that add code will depend on what
kind of layout you are using on window
HorizontalPanel titleArea = new HorizontalPanel();
titleArea .setSize("100%","100%");
HorizontalPanel leftSide= new HorizontalPanel();
leftSide.setSpacing(5);
leftSide.add(new PushButton("button)):
leftSide.add(new PushButton("button)):
leftSide.add(new PushButton("button)):
leftSide.add(new PushButton("button)):
titleArea .add(leftSide);
HorizontalPanel rightSide= new HorizontalPanel();
rightSide.setSpacing(5);
rightSide.add(new PushButton("button)):
rightSide.add(new PushButton("button)):
rightSide.add(new PushButton("button)):
rightSide.add(new PushButton("button)):
titleArea .add(rightSide);
titleArea .setCellHorizontalAlignment(rightSide,
HasHorizontalAlignment.ALIGN_RIGHT);
On Thu, Sep 24, 2009 at 11:48 PM, [email protected] <
[email protected]> wrote:
>
>
> I want to create a window with eight buttons in the title bar using
> the GWT.
> The buttons do not need to have any event.
> Four are on the left side and four on the right.
>
> Could someone help me?
>
> thanks!
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---