[ 
https://issues.apache.org/jira/browse/TOBAGO-784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742847#action_12742847
 ] 

Helmut Swaczinna commented on TOBAGO-784:
-----------------------------------------

To fix this problem add this to Tobago.Sheet.prototype.endResize:

      var cell = Tobago.element(idPrefix + i++ + idPostfix);
      while (cell) {
        cell.style.width = this.newWidth + "px";
+
+       var content = cell.childNodes[0].childNodes[0];
+       if (content != null) {
+          content.style.width = (this.newWidth - 4) + "px";
+       }
+
        cell = Tobago.element(idPrefix + i++ + idPostfix);
      }

This is just a fix, maybe it works not in all cases (where does the 4 px extra 
width comes from?)

> No line wrap in tc:sheet column when column is resized in IE
> ------------------------------------------------------------
>
>                 Key: TOBAGO-784
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-784
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Themes
>    Affects Versions: 1.0.19
>         Environment: IE 6/7
>            Reporter: Helmut Swaczinna
>            Priority: Minor
>
> Text in a cell in a sheet (displayed with tc:out) is not wrapped or unwrapped 
> when the user resizes the column. The text stays in its initial wrapping. 
> With FF this works.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to