On 25 set, 05:13, Parvez Shah <
parvezs...@gmail.com> wrote:
> 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);
>