Hi Alejandro,

forget my question about the html file. Following your link to the
html file leads to the JavaScript hell. :-) But I managed to download
the original source, which is quite friendly.

I'll test and I'll answer!

Many thanks!
Magnus

On Jun 9, 8:28 pm, Magnus <alpineblas...@googlemail.com> wrote:
> Hi Alejandro,
>
> this looks very good and I am still analyzing the java code. I will
> give you a more detailed feedback later...
>
> The java code looks clean, but the html file is pumped up with of
> JavaScript.
> Does this code belong to the solution or is it just generated from
> other sources?
>
> Magnus
>
> On Jun 9, 7:35 pm, "Alejandro D. Garin" <aga...@gmail.com> wrote:
>
> > Hi,
>
> > The code below is part of the task, but it center the main chess table in
> > the dock center panel. Does this work for you or at least give some help?
>
> >http://www.puntosoft.com.ar/gwt/layoutChess/LayoutChess.html
>
> >http://www.puntosoft.com.ar/gwt/layoutChess/LayoutChess.javahttp://ww...
>
> > On Wed, Jun 9, 2010 at 12:50 PM, Magnus <alpineblas...@googlemail.com>wrote:
>
> > > Hi,
>
> > > everything you said is correct.
>
> > > Magnus
>
> > > On Jun 9, 5:09 pm, "Alejandro D. Garin" <aga...@gmail.com> wrote:
> > > > Hi,
>
> > > > To be clear: What are you expecting to have in your layout scenario? 
> > > > i.e.
> > > A
> > > > menu on top, a Chess Widget centered in the browser with same margins
> > > from
> > > > top/left/right/bottoms? Also, the chess Widget should have 64 cells of
> > > the
> > > > same height/width.? i.e. the cell doesn't change if the browser resize?
>
> > > > On Wed, Jun 9, 2010 at 11:20 AM, Magnus <alpineblas...@googlemail.com
> > > >wrote:
>
> > > > > Hi group,
>
> > > > > I have started writing the layout code using the onresize event, and I
> > > > > think this will be the solution I wanted. I created a class "Display",
> > > > > derived from LayoutPanel,.
>
> > > > > But I am still missing information to layout my widgets. It is not
> > > > > that easy to geht width and height, als mentioned above.
>
> > > > > For example,. to resize my MenuBar, I need its natural height, i. e.
> > > > > the height it needs to show its content.
> > > > > Then I would resize it to (<window width>,<natural height>).
>
> > > > > When I create it and add it to my LayourtPanel, it's immediately
> > > > > resized to fill the whole window.
> > > > > After that, getOffsetHeight returns not the desired result.
>
> > > > > I also tried to save the height immediately after creation and before
> > > > > adding it to the panel:
>
> > > > > MenuBar menubar = new MenuBar ();
> > > > > ...
> > > > > int menuHeight = menubar.getOffsetHeight (); // will be 0
> > > > > add (menubar);
> > > > > But it returns 0.
>
> > > > > So I need a method to get the size a widget needs *independently* of
> > > > > its current size.
>
> > > > > Or how would you resize the menubar?
>
> > > > > Thanks
> > > > > Magnus
>
> > > > > On 9 Jun., 15:35, Ian Bambury <ianbamb...@gmail.com> wrote:
> > > > > > > But how do I get the Resize-Event if I don't subclass an existing
> > > > > > > layout panel?
>
> > > > > > Window.addResizeHandler(handler);
>
> > > > > --
> > > > > 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