Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5077

menubar in vflex=min doesn't size well in borderlayout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.0.0, 9.6.0.1
    • None
    • None

      Steps to Reproduce

      https://zkfiddle.org/sample/38gu6de/16-Another-new-ZK-fiddle

      run fiddle.

      Add vflex="min" to menubar, run again (fiddle here)

      Current Result

      without vflex="min", menubar overlaps next items (internal size larger than component size)

      with vflex="min" menubar, the height of the menubar is calculated with the height of every menu items contained (too tall)

      Expected Result

      menubar should be just as tall as necessary to contain all menuitems

      Debug Information

      somehow caused by borderlayout with another region in the same component

      Workaround

      <zk xmlns:w="client">

      <menubar w:onAfterSize="zUtl.fireSized(this.parent.parent)">

       

      force sizing events

            Unassigned Unassigned
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: