Thx Thomas, the problem i had! with flowpanel is that it renders children not surely vertically (if two children fit in one line they will be in one line) - but i think that could be easily resolved (by making children always large enough).
now i began with cell-stuff. at the moment i try to extend ActionCell and overwrite it's render (just calls sb.append some text before calling super.render). I also tried (for 10min) composite cell but i didn't realized what i should do about "hasCells". (i guess there is no "in deep" documentation of cell-stuff) now i will try CellTable. On Monday, 16 April 2012 16:01:03 UTC+2, Thomas Broyer wrote: > > > On Monday, April 16, 2012 3:25:22 PM UTC+2, tanteanni wrote: >> >> i need a list of "label plus button entries" (the button says delete >> line). The List won't become very long (<100 entries). So the first >> question is: Is CellList a good approach? I tried VerticalPanel, but the >> alignment is odd. A second/third widget is added in the middle of remaining >> space instead of just below the first (could this be "fixed"). > > > How about FlowPanel? > > >> The second approach i know about is a CellList (but i don't like html >> fiddling - guess why i took gwt ;-))? To get an Text together with a button >> i guess i need a "custom cell"? Is there any example of a custom cell with >> a working button (reacting on click events?) I don't need any other >> interactions. >> > > A CompositeCell might be enough; but if you want your buttons to be > vertically aligned, then use a CellTable with 2 columns: one with a > TextCell for your text, and one with an ActionCell (or a ButtonCell) for > the button. > -- 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/-/TzKu1yL9k0oJ. 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.
