Widgets: PopupMenu: If PopupMenu width is set, menuItem children should have 
width of 100%
------------------------------------------------------------------------------------------

                 Key: XAP-244
                 URL: https://issues.apache.org/jira/browse/XAP-244
             Project: XAP
          Issue Type: Bug
          Components: Widgets
            Reporter: Trevor Oldak


In the following example, the popupMenu's width is wider than its children's 
default width, extending the width of the popupMenu, but not the width of its 
children.

Setting the width of a popupMenu should set the children's widths too.


<xal:popupMenu id="testComponent" backgroundColor="#F0F0F0" width="300px">
  <xal:menuItem id="cut" text="Cut"/>
  <xal:menuItem text="Copy"/>
  <xal:horizontalSeparator/>
  <xal:menuItem text="Paste">
    <xal:popupMenu>
      <xal:menuItem text="Cut"/>
      <xal:menuItem text="Copy"/>
      <xal:horizontalSeparator/>
      <xal:menuItem text="Paste"/>
    </xal:popupMenu>
  </xal:menuItem>
</xal:popupMenu>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to