Widgets: menuBar: Inserting a menu with a set width into a page throws errors
-----------------------------------------------------------------------------
Key: XAP-548
URL: https://issues.apache.org/jira/browse/XAP-548
Project: XAP
Issue Type: Bug
Components: Widgets: Menu/MenuBar/Toolbar
Reporter: Trevor Oldak
Run the following xal:
<xal xmlns="http://openxal.org/ui/html">
<macro:macro xmlns:macro="http://openxal.org/core/macro" id="doit">
<xm:modifications xmlns:xm="http://openxal.org/core/xmodify">
<xm:replace-children select="id('main-panel')">
<verticalBoxPane pack="center" alignment="center"
borderPosition="center">
<menuBar x="0px" y="0px" width="500px" height="30px"
backgroundColor="#C0C0C0" borderColor="#000000">
<menu text="Edit">
<popupMenu>
<menuItem text="Undo"/>
</popupMenu>
</menu>
</menuBar>
</verticalBoxPane>
</xm:replace-children>
</xm:modifications>
</macro:macro>
<rootPane>
<freePane height="100%" width="100%" id="main-panel">
<button x="0" y="0" height="30px" text="do it"
onCommand="macro:doit.execute()"/>
</freePane>
</rootPane>
</xal>
An error will be thrown when the "do it" button is clicked
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.