Re: Widget/Panel collapse using arrow button or bar

2011-01-12 Thread ciosbel
You could use the CollapsiblePanel from the gwt incubator: http://collectionofdemos.appspot.com/demo/index.html (the last example). demo sources: http://code.google.com/p/google-web-toolkit-incubator/source/browse/#svn%2Ftrunk%2Fsrc-demo%2Fcom%2Fgoogle%2Fgwt%2Fgen2%2Fdemo%2Fcollapsiblepanel%253Fst

Re: Widget/Panel collapse using arrow button or bar

2011-01-11 Thread Andrei Cosmin Fifiiţă
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

Re: Widget/Panel collapse using arrow button or bar

2011-01-11 Thread zixzigma
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 tr

Re: Widget/Panel collapse using arrow button or bar

2011-01-11 Thread Andrei Cosmin Fifiiţă
I knwi that the header and the inside widget are vertically aligned. I need horizontal align. (something that looks like the HorizontalSplitPanel) On 11 January 2011 18:01, Milan Cvejic wrote: > What you are looking for is called DisclosurePanel. > > It is in standard GWT library. > > Cheers, >

Re: Widget/Panel collapse using arrow button or bar

2011-01-11 Thread Milan Cvejic
What you are looking for is called DisclosurePanel. It is in standard GWT library. Cheers, Milan Cvejic On Jan 11, 3:13 pm, Ice13ill wrote: > Hello, I need a simple widget that collapses/hides a panel (or div) > and looks something like the google reader hiding bar, or gwt tutorial > site (or a

Widget/Panel collapse using arrow button or bar

2011-01-11 Thread Ice13ill
Hello, I need a simple widget that collapses/hides a panel (or div) and looks something like the google reader hiding bar, or gwt tutorial site (or an arrow button like the new google groups interface or google news). I just need a simple code (with some css styles), not a whole library. Even a jav