drop your canvas inside a ResizeLayoutPanel. This way onResize event you
can adjust the width and height of the canvas.
<g:SplitLayoutPanel>
<g:center>
<g:DockLayoutPanel>
<g:center>
<g:SplitLayoutPanel>
<g:center>
<g:DockLayoutPanel>
<g:center>
<g:ResizeLayoutPanel>
<c:Canvas>
On Sat, Jan 19, 2013 at 7:16 PM, RyanZA <[email protected]> wrote:
> Make sure that the actual container your uibinder is using is a
> RequiresResize. Usually you use a Composite for UiBinder - if that's the
> case, change it to a ResizeComposite
>
>
> On Friday, January 18, 2013 5:07:02 PM UTC+2, membersound wrote:
>>
>> Could you give me the link of your working example?
>>
>> My layout looks like this (stripped down to the canvas concerning
>> elements):
>>
>> <g:SplitLayoutPanel>
>> <g:center>
>> <g:DockLayoutPanel>
>> <g:center>
>> <g:SplitLayoutPanel>
>> <g:center>
>> <g:DockLayoutPanel>
>> <g:center>
>> <c:Canvas>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/YwZgwcpJb1YJ.
>
> 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.
>
--
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.