I know how to create and design the widget, but i don't want to waste time
since it is a very high probability that someone did it already (like gxt or
smartGWT). I don't want to use such a big library either, because the widget
is really simple (well i could use a simple libary...)
But the widget must behave (and at least similar look) with the hiding bar
in google reader or gwt tutorial (or maybe a [<<] button like the one in the
new google groups UI, that hides the tabs on the left side)

On 11 January 2011 23:00, zixzigma <[email protected]> wrote:

> I think you can achieve the same by using Widget#setVisible(true/
> false)
> to show/hide the panel.
>
> here is how you ocan do it:
>
> 1- define  a CompositeWidget (extending Composite)
> this Composite "has" a Label and "has" a Panel.
>
> 2- define a  Label in your Composite
> (Label or a button/image/link to trigger the showing/hiding. +/- show/
> hide)
>
>
> 3- define a Panel in the Composite
> (this would be the main panel containing the contents you want to show
> and hide)
>
> 4- for the label(button/image/link) you create an event,
> for example onClick of the label, show/hide
> this is achieved by calling setVisible(true/false) on your panel
>
>
> in my experience Disclosure panel, acts a bit weird, when you hide
> the focus remains on the label, there is something about it that is
> just doesnt feel right.
>
> --
> 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]<google-web-toolkit%[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.

Reply via email to