thx again,
with flow panel it was very easy to implement. the problem was to get the
"selected" line (the line the button was clicked). now i am using the cell
stuff, with its "selection model" i can easily do what i want. ('til now i
don't have any html/css in my code - hope springs eternal ;-))
On Monday, 16 April 2012 17:36:07 UTC+2, Thomas Broyer wrote:
>
>
>
> On Monday, April 16, 2012 4:20:18 PM UTC+2, tanteanni wrote:
>>
>> 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).
>>
>
> Or use display:block in CSS (or a "block" element –such as a div– as the
> root for your widget).
>
> I'm sorry but GWT doesn't save you from learning HTML, JS, DOM and CSS. If
> you don't want to learn those, then maybe you shouldn't have chosen GWT to
> begin with: Flex or similar might have been a better choice (for you as a
> developer; I absolutely hate Flash and Flex as a user, so from my point of
> view this is absolutely not a "better choice", but this is just my opinion)
>
> 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)
>>
>
> A CompositeCell is similar to a CellTable except it renders things side by
> side, not in columns (and there are no headers/footers). Instead of
> defining Columns for a CellTable, you define HasCells for a CompositeCell,
> and instead of rendering each cell in a table column (as CellTable),
> CompositeCell renders them "side by side" as a single cell.
>
>
--
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/-/2HYvgnPXhPIJ.
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.