You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org> on 2016/11/17 14:19:58 UTC

[jira] [Resolved] (TOBAGO-1592) Support custom width on tc:column (using auto-layout)

     [ https://issues.apache.org/jira/browse/TOBAGO-1592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Udo Schnurpfeil resolved TOBAGO-1592.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0
                   3.0.0-alpha-8

> Support custom width on tc:column (using auto-layout)
> -----------------------------------------------------
>
>                 Key: TOBAGO-1592
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-1592
>             Project: MyFaces Tobago
>          Issue Type: New Feature
>    Affects Versions: 3.0.0-alpha-5
>            Reporter: Matthias Wronka
>            Assignee: Henning Noeth
>            Priority: Minor
>             Fix For: 3.0.0-alpha-8, 3.0.0
>
>
> When a <tc:sheet> is defined without "columns"-attribute, the browser takes care of setting the column-width based on the content. The result is often what you want, but sometimes one could wish for a little more influence :-)
> It should be possible to define a width for a column to overwrite the browser-behavior. This is useful e.g. if you have a table with select-boxes where you know (and want to limit) the width. This way a consistent look can be achieved, if similar tables are rendered more than once on a page.
> The definition could be set using <tc:style>:
> <tc:column label="some label>
>    <tc:style width="150px"/>
>    ....
> </tc:column>
> The renderer could render the width-attribute in the HTML-TD-Tag.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)