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

the "heights" attribute of vbox doesn't work as designed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 8.5.2.1
    • Fix Version/s: 8.6.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.6.0 S2, ZK 8.6.2 S1

      Description

      Steps to Reproduce

          <vbox width="100%" height="500px" heights="10%,20%,30%,40%">
              <div style="border: solid 1px">
                  1
              </div>
              <div style="border: solid 1px">
                  2
              </div>
              <div style="border: solid 1px">
                  3
              </div>
              <div style="border: solid 1px">
                  4
              </div>
          </vbox>
      

      Current Result

      ZK doesn't render the 4 <div> as the specified height

      Expected Result

      ZK renders the 4 <div> as the specified height

      Debug Information

      The inner table should use height 100% to get the full height 500px or the default behavior is collapsed.

      Workaround

      add pack='stretch' in <vbox>

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours
                7h