Hallo,

I am new to GWT so this might be a stupid question. I am trying to 
familiarize myself with GWT and wanted to build a simple UI using the 
UIBinder. For starters I wanted to try a simple layout using the 
DockLayoutPanel with a logo at the top and some images that are supposed to 
be used as navigation on the left. I thought I understood the process (it 
seemed straightforward enough), but for some reason only the images on the 
top are displayed, the images in the left side are not.

All images are saved using the same format (PNG).

Here is the relevant part of the XML (interestingly enough the images are 
displayed when I switch to design mode in Eclipse):

<ui:with field="res" type="com.gwttest.client.Resources" />
 <g:DockLayoutPanel>

<g:north size="200" unit="px">
<g:HorizontalPanel>
<g:Image resource="{res.imgLogo}"/>
<g:Image resource="{res.imgHeading}"/>
</g:HorizontalPanel>
</g:north>
<g:west size="200" unit="px">
<g:VerticalPanel>
<g:Image resource="{res.button1}"/>
<g:Image resource="{res.button2}"/>
<g:Image resource="{res.button3}"/>
</g:VerticalPanel>
</g:west>
<g:center>
<g:HTML>
Content goes here
</g:HTML>
</g:center>
</g:DockLayoutPanel>

When I look at the javascript console in chrome I can under "Resources" 
that all images are there. When I dig into the Code under "Elements" i see 
that the images have been replaced with an image called "clear.cache.gif".

Can someone please tell me what I am doing wrong?

Thank you very much

-- 
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/-/ZQSDez5z0UcJ.
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.

Reply via email to