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

incorrect flex calculation with margins

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.2
    • Freshly, 8.5.0, 8.5.1
    • ZK Client Engine
    • Security Level: Jimmy
    • ZK 8.5.2 S1

      Steps to Reproduce

      run flex-with-margin.zul

      also here: http://zkfiddle.org/sample/3coflv/1-flex-with-margin
      compare 8.0.5 with 8.5.0

      Current Result

      the calculated h/vflex widths/heights subtract the margins twice resulting wasted space at the right/bottom of the divs sized using flex

      Expected Result

      results as in 8.0.5

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - 4 hours Remaining Estimate - 4 hours
                4h