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

A Menuitem cannot display itself completely after shrinking Menubar's width

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.4
    • 8.0.3
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.4 S1
    • None

      steps to reproduce

      1. load the zul
      2. click the button "shrink width"
      3. scroll to the rightmost menu item

      current result

      the rightmost menu item cannot display itself completely.

      debug info

      • this issue happens under Chrome, firefox, and safari.
      • it's caused by incorrectly calculated width of z-menubar-body
      • another related issue: if we don't call Clients.resize(bar);, Menubar doesn't resize itself when shrinking its parent <div>

        1. 3536.zul
          2 kB
          hawk
        2. cutMenuitem.png
          12 kB
          hawk

            DevChu DevChu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h