[
https://issues.apache.org/jira/browse/TOBAGO-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13161538#comment-13161538
]
Udo Schnurpfeil commented on TOBAGO-1059:
-----------------------------------------
I've commited a simple fix for that issue, which should work well.
A more flexible solution comes with TOBAGO-1065.
> fixed width for tc:link is not computed
> ---------------------------------------
>
> Key: TOBAGO-1059
> URL: https://issues.apache.org/jira/browse/TOBAGO-1059
> Project: MyFaces Tobago
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.5.0-beta-2
> Reporter: Matthias Wronka
> Fix For: 1.5.1
>
>
> tc:gridLayout does not compute the width for tc:link, if it is configured as
> fixed/auto-component. I you change tc:link to tc:button everything works
> fine. Example-Code:
> <tc:box label="Some Label" markup="header">
> <f:facet name="layout">
> <tc:gridLayout rows="fixed" columns="2*;*;fixed" />
> </f:facet>
> <!-- Zeile 1 -->
> <tx:in label="Input Field" readonly="true" labelWidth="90px"
> value="xyz" />
> <tx:in label="Another Input" readonly="true" labelWidth="80px"
> value="abc" />
> <tc:link label="Fixed Width Link"
> image="#{linkToImage}" markup="right" />
> </tc:box>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira