You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "David Day (JIRA)" <xa...@incubator.apache.org> on 2007/11/09 22:41:50 UTC
[jira] Updated: (XAP-539) Table columns shrink when sorted
[ https://issues.apache.org/jira/browse/XAP-539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Day updated XAP-539:
--------------------------
Description:
Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
Important: Both problems only occur when a width is not specified for the header.
Steps:
1. Use this XAL:
<xal xmlns="http://openxal.org/ui/html">
<rootPane>
<freePane width="1024px" height="768px">
<horizontalBoxPane height="500px">
<table id="messagesTable" height="500px" width="500px">
<column>
<header text="Topic"/>
</column>
<column>
<header text="Listener"/>
</column>
<column>
<header text="Content"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
</table>
</horizontalBoxPane>
</freePane>
</rootPane>
</xal>
2. Run the xal and notice columns shrink each time a column is sorted.
was:
Each time a column is sorted in a table, all columns in that table shrink by a small amount.
Important: The problem only occurs when a width is not specified for the header.
Steps:
1. Use this XAL:
<xal xmlns="http://openxal.org/ui/html">
<rootPane>
<freePane width="1024px" height="768px">
<horizontalBoxPane height="500px">
<table id="messagesTable" height="500px" width="500px">
<column>
<header text="Topic"/>
</column>
<column>
<header text="Listener"/>
</column>
<column>
<header text="Content"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
<cell text="Row 1 Cell 1"/>
</row>
</table>
</horizontalBoxPane>
</freePane>
</rootPane>
</xal>
2. Run the xal and notice columns shrink each time a column is sorted.
> Table columns shrink when sorted
> --------------------------------
>
> Key: XAP-539
> URL: https://issues.apache.org/jira/browse/XAP-539
> Project: XAP
> Issue Type: Bug
> Components: Widgets: Table/Tree/TreeTable
> Environment: IE7, IE6, Windows XP
> Reporter: David Day
> Priority: Blocker
>
> Each time a column is sorted in a table, all columns in that table shrink by a small amount. Also, text formatting inside table cells is broken.
> Important: Both problems only occur when a width is not specified for the header.
> Steps:
> 1. Use this XAL:
> <xal xmlns="http://openxal.org/ui/html">
> <rootPane>
> <freePane width="1024px" height="768px">
> <horizontalBoxPane height="500px">
> <table id="messagesTable" height="500px" width="500px">
> <column>
> <header text="Topic"/>
> </column>
> <column>
> <header text="Listener"/>
> </column>
> <column>
> <header text="Content"/>
> </column>
> <row>
> <cell text="Row 1 Cell 1"/>
> <cell text="Row 1 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 2 Cell 1"/>
> <cell text="Row 2 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> <row>
> <cell text="Row 3 Cell 1"/>
> <cell text="Row 3 Cell 2"/>
> <cell text="Row 1 Cell 1"/>
> </row>
> </table>
> </horizontalBoxPane>
> </freePane>
> </rootPane>
> </xal>
> 2. Run the xal and notice columns shrink each time a column is sorted.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.