You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Wronka (JIRA)" <de...@myfaces.apache.org> on 2007/07/12 10:12:04 UTC

[jira] Created: (TOBAGO-445) Sheet-Cell-Border is misplaced

Sheet-Cell-Border is misplaced
------------------------------

                 Key: TOBAGO-445
                 URL: https://issues.apache.org/jira/browse/TOBAGO-445
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
            Reporter: Matthias Wronka
            Priority: Critical
             Fix For: 1.0.12
         Attachments: Table-Border.jpg

If you assign a border-style e.g. 1px solid to tobago-sheet-cell-td then the column-borders are not correctly positioned under the header-cell-borders. I believe this happens because the header is rendered using divs and not using th. Apparently the border of a div is renderd inside the element, the border of td is rendered outside the element and causes the cell to grow. The result looks like in the screenshot.

One possible solution is to add a hint for the layoutmanager in the tobago-theme-config.properties that reduces the calculate column-width by the border-width of a cell. This fix should support the different style of the first column (maybe the first column has no border).

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