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

incorrect flex calculation with margins

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: Freshly, 8.5.0, 8.5.1
    • Fix Version/s: 8.5.2
    • Component/s: ZK Client Engine
    • Security Level: Jimmy
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 8.5.2 S1

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                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