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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Major Major
    • 8.6.2
    • 8.5.2.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S2, ZK 8.6.2 S1
    • None

      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>

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

              Created:
              Updated:
              Resolved:

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