Widgets: Table: Table doesn't render correctly when inserted into freePane
--------------------------------------------------------------------------

                 Key: XAP-551
                 URL: https://issues.apache.org/jira/browse/XAP-551
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Layouts, Widgets: Table/Tree/TreeTable, XModify
            Reporter: Trevor Oldak


Run the following xal. The appended table will not show up in the freePane, 
only its border. One possible workaround is to put the table inside a container 
such as a horizontalBoxPane

<xal xmlns="http://openxal.org/ui"; xmlns:xal="http://openxal.org/ui";>
  <documentDataSource 
    xmlns="http://openxal.org/core/data"; 
    id="foo" 
    source="foo.xml"
  />
  <macro:macro xmlns:macro="http://openxal.org/core/macro"; id="addMultiRow">
    <xm:modifications xmlns:xm="http://openxal.org/core/xmodify";>
      <xm:remove-element select="//table"/>
      <xm:append select="//freePane">
        <table width="100px" height="100px" x="70px" y="20px">
          <column><header text="bar"/></column>
          <row>
            <cell text="foo"/>
          </row>
        </table>
      </xm:append>
    </xm:modifications>
  </macro:macro>
  <freePane width="500px" height="300px" id="testComponentFreePane">
    <button text="add" onCommand="macro:addMultiRow.execute()" x="0px" y="0px"/>
  </freePane>
</xal>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to