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

Helmut Swaczinna commented on TOBAGO-785:
-----------------------------------------

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?)

> Right aligned columns gets right truncated when column width is reduced in IE
> -----------------------------------------------------------------------------
>
>                 Key: TOBAGO-785
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-785
>             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 right aligned column gets right truncated when the column width is 
> reduced by the user even when there's enough blank space on the left. You can 
> see this in the demo.

-- 
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