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

hbox's children shrinks their height unexpectedly after dragging a splitter

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.6.0
    • 8.5.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S1, ZK 8.6.0 S2
    • None

      Steps to Reproduce

      1. run the zul

      <zk>
          <hbox spacing="0" width="100%" height="100%" widths="50%,50%">
              <panel title="Dashboard 2.1" border="normal" vflex="true" hflex="true">
                  <panelchildren>
                      <div>Dashboard components</div>
                  </panelchildren>
              </panel>
              <splitter/>
              <panel title="Dashboard 2.2" border="normal" vflex="true" hflex="true">
                  <panelchildren>
                      <div>Dashboard components</div>
                  </panelchildren>
              </panel>
          </hbox>
      </zk>
      

      2. drag the splitter to left to any position

      Current Result

      shrinks the height of its children component

      Expected Result

      height keeps unchanged after resizing.

      Debug Information

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

        1. shrinkHeight.png
          18 kB
          hawk
        2. t5743-2.zul
          2 kB
          hawk

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

              Created:
              Updated:
              Resolved: