I don't understand how UiBinder cannot be used to do what you describe. You
may have to create multiple views (for example "fileMenuView") that you
attach when the user clicks on "File" in the menu. But that "fileMenuView"
could be fully described in UiBinder.  how it is attached probably won't be
done in UiBinder but it's just one dynamic part of it...   I haven't looked
into the menu widget too much, but that itself can probably do some of that
declaratively....

centering a form is as easy as centering some panels

<g:VerticalPanel horizontalAlignment="ALIGN_MIDDLE">
  <g:VerticalPanel ui:field='myFrom'>
    ...
   etc..

I use UiBinder and I have centered forms, popups, menus, etc....

it's possible.. but remember it's a tool.. you may not be able to declare
where the menu should be attached, but you can declare the menu itself in
the uibinder. use what works best for each purpose.



On Tue, Jun 8, 2010 at 12:13, Magnus <alpineblas...@googlemail.com> wrote:

> I would like a menubar, and whenever a menu item is selected, I would
> like to show a panel.
>
> The screen should have a north, west, east and south section, and in
> the center the current panel should be shown.
>
> For example, if the user selects "create account", a form should be
> shown to enter the data for a new account.
>
> And I would like the form to be centered within the middle space...
>
> Magnus
>
> On Jun 8, 5:48 pm, Tristan Slominski <tristan.slomin...@gmail.com>
> wrote:
> > What do you mean by "dynamically generated"? Are you setting styles and
> > widths programmatically? What's the use case?
> >
> > On Tue, Jun 8, 2010 at 10:45, Magnus <alpineblas...@googlemail.com>
> wrote:
> > > Hi fmod,
> >
> > > I am thinking about your advice using UIbinder, but I think I cannot
> > > use it, because my layout is dynamically generated. I think that the
> > > declarative way using UIbinder is for fixed panels like forms, isn't
> > > it?
> >
> > > Magnus
> >
> > > --
> > > 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-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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-tool...@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