Re: placing a widget in a dropdown

2009-12-04 Thread djd
I also needed this, the idea is simple. You have 2 options:

1. From the plethora of gwt extension libraries (gwt-mosaic, gwtx,
smartgwt, ext js, MyGWT), I'm pretty sure you can find a listbox that
will fit your needs

2. Create a custom listbox from scratch, adjusting it to your needs.
If you plan to do this, the simplest way is to extend a Composite, and
having the dropdown list as a PopupPanel or AbsolutePanel (with big z-
index so it stays on top).

Best of luck,
Alex D

On Dec 4, 7:15 am, Jaimon kal.liz...@gmail.com wrote:
 hi,
 i would like to create something that looks like a dropdown/listbox
 that contains no just text but also images,
 and each image perfoms a different action, so basically i would like
 to create something that opens up like a drop down but each item is a
 widget.

 the dropdown list is now sutible for that since the addItem is only
 for text.
 at some point i thought on doing it with menu items but it is also not
 really right...

 any one has any idea?
 Jaim

--

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.




Re: placing a widget in a dropdown

2009-12-04 Thread Joe
Hi Jaimon,

There's a widget i have created long time ago, it's a listbox
functionality,
but where i have control on all css and styles and design of it. As
you know,
the normal listbox of gwt depends on your browser look and feel.
But the idea is simple:

You need to have a textbox  with image(drop down arrow).
Then, when you click on the image, a popup will appear below it.
The popup can contain a scrollpanel with a vertical panel.
The vertical panel can conatin any widget you want, a label, an image,
a textbox, etc ...

Hope this will be helpful, let me know if you need any help.

Good luck,

Joe

On Dec 4, 12:29 pm, djd alex.dobjans...@gmail.com wrote:
 I also needed this, the idea is simple. You have 2 options:

 1. From the plethora of gwt extension libraries (gwt-mosaic, gwtx,
 smartgwt, ext js, MyGWT), I'm pretty sure you can find a listbox that
 will fit your needs

 2. Create a custom listbox from scratch, adjusting it to your needs.
 If you plan to do this, the simplest way is to extend a Composite, and
 having the dropdown list as a PopupPanel or AbsolutePanel (with big z-
 index so it stays on top).

 Best of luck,
 Alex D

 On Dec 4, 7:15 am, Jaimon kal.liz...@gmail.com wrote:



  hi,
  i would like to create something that looks like a dropdown/listbox
  that contains no just text but also images,
  and each image perfoms a different action, so basically i would like
  to create something that opens up like a drop down but each item is a
  widget.

  the dropdown list is now sutible for that since the addItem is only
  for text.
  at some point i thought on doing it with menu items but it is also not
  really right...

  any one has any idea?
  Jaim

--

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.




placing a widget in a dropdown

2009-12-03 Thread Jaimon
hi,
i would like to create something that looks like a dropdown/listbox
that contains no just text but also images,
and each image perfoms a different action, so basically i would like
to create something that opens up like a drop down but each item is a
widget.

the dropdown list is now sutible for that since the addItem is only
for text.
at some point i thought on doing it with menu items but it is also not
really right...


any one has any idea?
Jaim

--

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.