Friday, December 28, 2012

How to display an empty Panel/FocusPanel?

Hi,

I want to have a FocusPanel without any content, but it should trigger some MouseFocus events.
Are there any spacer elements in GWT which I could place into the FocusPanel?

At the moment I'm just using a transparent little image that I place into the FocusPanel by:
<g:FocusPanel>
  <g:Image resource="{res.empty}" />
</g:FocusPanel>

But are there better ways?

--
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/-/PZgNiAIIbt8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment