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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Later Later
    • 8.5.2
    • 8.5.0
    • Components
    • Security Level: Jimmy
    • None

      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"

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

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

              Created:
              Updated:
              Resolved:

                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