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, erico_morta...@hotmail.com <
erico_morta...@hotmail.com> 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 google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to