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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15673965#comment-15673965 ] 

Hudson commented on TOBAGO-1592:
--------------------------------

SUCCESS: Integrated in Jenkins build Tobago 3.0.x #608 (See [https://builds.apache.org/job/Tobago%203.0.x/608/])
TOBAGO-1592 Support custom width on tc:column (using auto-layout)
* <tc:style> can be used with <tc:column>
TOBAGO-1625: <tc:style> support for <tc:row> and <tc:column>
* prepare
[developed with hnoeth] (lofwyr: [http://svn.apache.org/viewvc/?view=rev&rev=1770198])
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIColumn.java
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIColumnBase.java
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIRow.java
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/renderkit/renderer/SheetRenderer.java
* (edit) tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/taglib/component/RowTagDeclaration.java


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