how about if four column, two column width is fixed and two column width is 
relative (each is 50%), if the content is longer than the relative width of 
these columns, the content will wrap to next line, but not truncate, is 
this possible?

On Thursday, April 12, 2012 6:15:40 PM UTC+8, tong123123 wrote:
>
> in gwt developer guide, it said
>
> In order to gain fine-grain control over the width of columns, you must 
>> set the table layout to "fixed" by passing true into 
>> CellTable.setWidth(String, 
>> boolean)<http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/cellview/client/CellTable.html#setWidth%28java.lang.String,%20boolean%29>.
>>  
>>
>
> but I found that if table layout is fixed, then after setting the column 
> width, if the column content is too width for the column, the extra content 
> will be truncated, but not display in the next line.
>
> Assume I have three column, I want the width of two column is fixed, but 
> the remaining column width is relative (using 100%, for e.g.), and then I 
> want if the content of that column is too long, the content will display in 
> two line in that column, but not truncated, is this possible?
> I use TextCell, Column<TextCell> for the column of CellTable.
> the version of GWT is 2.4
>
>
>
>

-- 
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/-/n_XJTeGgaJIJ.
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.

Reply via email to