[jira] Commented: (TOBAGO-163) Calculation of component-height doesn't work correctly
[ http://issues.apache.org/jira/browse/TOBAGO-163?page=comments#action_12446283 ] Tobias Glensk commented on TOBAGO-163: -- I used the 1.0.9-Snapshot, and the components height calculation still doesn't work. The LayoutInfo writes these warnings. org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;fixed org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 Calculation of component-height doesn't work correctly -- Key: TOBAGO-163 URL: http://issues.apache.org/jira/browse/TOBAGO-163 Project: MyFaces Tobago Issue Type: Bug Affects Versions: 1.0.8 Environment: WinXP Tomcat 5.5.20 IE 6 Reporter: Tobias Glensk Priority: Minor I have a box component inside a panel with three nested components. The rows attribute of the box component is set to fixed. The heigt of the box component isn't calculated correctly if all nested components have the heigth attribute rows=fixed, for example: tc:panel f:facet name=layout tc:gridLayout margin=10px rows=1*;fixed;1* / /f:facet .. tc:box label=the outer box f:facet name=layout tc:gridLayout margin=10px rows=fixed;fixed;fixed / /f:facet tc:messages / tx:in label=SerachCriteria value= / tc:panel f:facet name=layout tc:gridLayout margin=10px columns=5*;1* / /f:facet tc:cell / tc:button action= label=Search defaultCommand=true / /tc:panel /tc:box .. /tc:panel These are the messages which Tobago generates: org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;fixed org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The same happens if the 3rd component in the box has 1* as row-height. org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;1* org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The workaround ist to set the row-height of the third component explicit, e.g. rows=fixed;fixed;20px. The type of the 3rd component is not relevant (I used tc:button instead of tc:panel to test it). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOBAGO-163) Calculation of component-height doesn't work correctly
[ http://issues.apache.org/jira/browse/TOBAGO-163?page=comments#action_12446079 ] Bernd Bohmann commented on TOBAGO-163: -- Can you test it with the nightly build, please. Calculation of component-height doesn't work correctly -- Key: TOBAGO-163 URL: http://issues.apache.org/jira/browse/TOBAGO-163 Project: MyFaces Tobago Issue Type: Bug Affects Versions: 1.0.8 Environment: WinXP Tomcat 5.5.20 IE 6 Reporter: Tobias Glensk Priority: Minor I have a box component inside a panel with three nested components. The rows attribute of the box component is set to fixed. The heigt of the box component isn't calculated correctly if all nested components have the heigth attribute rows=fixed, for example: tc:panel f:facet name=layout tc:gridLayout margin=10px rows=1*;fixed;1* / /f:facet .. tc:box label=the outer box f:facet name=layout tc:gridLayout margin=10px rows=fixed;fixed;fixed / /f:facet tc:messages / tx:in label=SerachCriteria value= / tc:panel f:facet name=layout tc:gridLayout margin=10px columns=5*;1* / /f:facet tc:cell / tc:button action= label=Search defaultCommand=true / /tc:panel /tc:box .. /tc:panel These are the messages which Tobago generates: org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;fixed org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The same happens if the 3rd component in the box has 1* as row-height. org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;1* org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The workaround ist to set the row-height of the third component explicit, e.g. rows=fixed;fixed;20px. The type of the 3rd component is not relevant (I used tc:button instead of tc:panel to test it). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOBAGO-163) Calculation of component-height doesn't work correctly
[ http://issues.apache.org/jira/browse/TOBAGO-163?page=comments#action_12446092 ] Volker Weber commented on TOBAGO-163: - Bernd, did you change something in the calculation? I think the margin is missing on layoutcalculation in the layout manager. Assign this to me if i should take a deeper look into. Calculation of component-height doesn't work correctly -- Key: TOBAGO-163 URL: http://issues.apache.org/jira/browse/TOBAGO-163 Project: MyFaces Tobago Issue Type: Bug Affects Versions: 1.0.8 Environment: WinXP Tomcat 5.5.20 IE 6 Reporter: Tobias Glensk Priority: Minor I have a box component inside a panel with three nested components. The rows attribute of the box component is set to fixed. The heigt of the box component isn't calculated correctly if all nested components have the heigth attribute rows=fixed, for example: tc:panel f:facet name=layout tc:gridLayout margin=10px rows=1*;fixed;1* / /f:facet .. tc:box label=the outer box f:facet name=layout tc:gridLayout margin=10px rows=fixed;fixed;fixed / /f:facet tc:messages / tx:in label=SerachCriteria value= / tc:panel f:facet name=layout tc:gridLayout margin=10px columns=5*;1* / /f:facet tc:cell / tc:button action= label=Search defaultCommand=true / /tc:panel /tc:box .. /tc:panel These are the messages which Tobago generates: org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;fixed org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The same happens if the 3rd component in the box has 1* as row-height. org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;1* org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The workaround ist to set the row-height of the third component explicit, e.g. rows=fixed;fixed;20px. The type of the 3rd component is not relevant (I used tc:button instead of tc:panel to test it). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (TOBAGO-163) Calculation of component-height doesn't work correctly
[ http://issues.apache.org/jira/browse/TOBAGO-163?page=comments#action_12446110 ] Bernd Bohmann commented on TOBAGO-163: -- I have added the example code to http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/test/src/main/webapp/layout.jsp I did not get any warning from the LayoutInfo. Calculation of component-height doesn't work correctly -- Key: TOBAGO-163 URL: http://issues.apache.org/jira/browse/TOBAGO-163 Project: MyFaces Tobago Issue Type: Bug Affects Versions: 1.0.8 Environment: WinXP Tomcat 5.5.20 IE 6 Reporter: Tobias Glensk Priority: Minor I have a box component inside a panel with three nested components. The rows attribute of the box component is set to fixed. The heigt of the box component isn't calculated correctly if all nested components have the heigth attribute rows=fixed, for example: tc:panel f:facet name=layout tc:gridLayout margin=10px rows=1*;fixed;1* / /f:facet .. tc:box label=the outer box f:facet name=layout tc:gridLayout margin=10px rows=fixed;fixed;fixed / /f:facet tc:messages / tx:in label=SerachCriteria value= / tc:panel f:facet name=layout tc:gridLayout margin=10px columns=5*;1* / /f:facet tc:cell / tc:button action= label=Search defaultCommand=true / /tc:panel /tc:box .. /tc:panel These are the messages which Tobago generates: org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;fixed org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The same happens if the 3rd component in the box has 1* as row-height. org.apache.myfaces.tobago.util.LayoutInfo:101 - There are columns left but no more space! cellsLeft=1, tokens=fixed;fixed;1* org.apache.myfaces.tobago.util.LayoutInfo:103 - calculated spaces = 1;20;-1 The workaround ist to set the row-height of the third component explicit, e.g. rows=fixed;fixed;20px. The type of the 3rd component is not relevant (I used tc:button instead of tc:panel to test it). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira