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

Window inside a <center> with autoscroll true doesn't resize itself correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Later
    • Resolution: Fixed
    • Affects Version/s: 8.5.0
    • Fix Version/s: 8.5.2
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:

      Description

      Steps to Reproduce

      1. run the attached zul
      2. set browser width to 800px
      3. maximize the browser with the maximize button
      4. restore to the original size

      Current Result

      The width of the <window> in <center> doesn't fit it's parent width
      Unable to render embedded object: File (resizeIncorrectly) not found.

      Expected Result

      The width of the <window> in <center> fit it's parent width like the window in the north.

      Debug Information

      • if set autoscroll="false", no such issue
      • if replace the <window> inside <center> with <div>, no such issue happens.

      Workaround

      set autoscroll="false"

        Attachments

        1. hflexIncorrectly.png
          hflexIncorrectly.png
          8 kB
        2. maximize.png
          maximize.png
          5 kB
        3. window-autoscroll.zul
          0.5 kB

          Issue Links

            Activity

              People

              • Assignee:
                CharlesQiu CharlesQiu
                Reporter:
                hawk hawk
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Time Spent - 1 day, 3 hours Remaining Estimate - 5 hours
                  5h
                  Logged:
                  Time Spent - 1 day, 3 hours Remaining Estimate - 5 hours
                  1d 3h