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

vbox doesn't render its height of children components correctly with splitters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • 8.6.0
    • 8.5.2, 8.6.0
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S1, ZK 8.6.0 S2
    • None

      Steps to Reproduce

      1. load the zul with 8.6.0.FL.20180822-Eval

      <zk>
          <vbox spacing="0" width="100%" height="100%" heights="20%,60%,20%">
              <panel title="Dashboard 3.1" border="normal" vflex="true" hflex="true">
                  <panelchildren>
                      <div>Dashboard components</div>
                  </panelchildren>
              </panel>
              <splitter/>
              <panel title="Dashboard 3.2" border="normal" vflex="true" hflex="true">
                  <panelchildren>
                      <div>Dashboard components</div>
                  </panelchildren>
              </panel>
              <splitter/>
              <panel title="Dashboard 3.3" border="normal" vflex="true" hflex="true">
                  <panelchildren>
                      <div>Dashboard components</div>
                  </panelchildren>
              </panel>
          </vbox>
      </zk>
      

      Current Result

      Expected Result

      the height 3 panels should

      • conform what I specified in heights
      • not exceed a page maximal height

      Debug Information

      • this is a simplified case of t5743-1.zul, please also test it

        1. incorrect.png
          25 kB
          hawk
        2. t5743-1.zul
          2 kB
          hawk

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

              Created:
              Updated:
              Resolved: