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/-/ET2VQ0IwpS0J. To post to this group, send email to google-web-toolkit@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.