Widgets: Table: Table can overlap when hidden out of bounds in a window
-----------------------------------------------------------------------
Key: XAP-486
URL: https://issues.apache.org/jira/browse/XAP-486
Project: XAP
Issue Type: Bug
Components: Widgets: Table/Tree/TreeTable
Reporter: Trevor Oldak
Run the following XAL and follow the instructions it gives. You should be able
to see where the table would be, even though it should be hidden by the window.
<xal xmlns="http://openxal.org/ui" xmlns:xal="http://openxal.org/ui">
<label text="Drag the minimized window up to here" x="20px" y="20px"/>
<window width="400px" height="300px" title="Drag me" x="50px" y="50px"
minimized="true">
<freePane width="100%" height="100%">
<label height="20px" text="Set width" width="100px" x="330px"
y="0px"/>
<table width="208px" x="330px" y="30px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
<label height="20px" text="Set height" width="100px" x="0px"
y="140px"/>
<table height="98px" x="100px" y="140px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
<label height="20px" text="No width" width="100px" x="100px"
y="0px"/>
<table x="100px" y="30px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
<label height="20px" text="No height" width="100px" x="0px"
y="30px"/>
<table height="98px" width="208px" x="330px" y="140px">
<column>
<header text="Column #1" width="100px"/>
</column>
<column>
<header text="Column #2" width="100px"/>
</column>
<row>
<cell text="Row 1 Cell 1"/>
<cell text="Row 1 Cell 2"/>
</row>
<row>
<cell text="Row 2 Cell 1"/>
<cell text="Row 2 Cell 2"/>
</row>
<row>
<cell text="Row 3 Cell 1"/>
<cell text="Row 3 Cell 2"/>
</row>
</table>
</freePane>
</window>
<window title="Don't touch me" x="100px" y="100px">
<label text="foo"/>
</window>
</xal>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.