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

resize() doesn't reduce a groupbox height with title

XMLWordPrintable

      Steps to Reproduce

          <groupbox  title="box" vflex="min"  >
              <button label="show" onClick="self.nextSibling.visible=!self.nextSibling.visible; Clients.resize(self.parent);"/>
              <div id="block" height="200px" style="border:1px solid ">
                  block
              </div>
          </groupbox>
          <groupbox  vflex="min"  >
              <button label="show" onClick="self.nextSibling.visible=!self.nextSibling.visible; Clients.resize(self.parent);"/>
              <div  height="200px" style="border:1px solid ">
                  block
              </div>
          </groupbox>
      

      1. click the button in the 2nd groupbox to hide the div
      the groupbox height reduces.
      2. click the button in the 1st groupbox to hide the div

      Current Result

      the groupbox height keep unchanged

      Expected Result

      the groupbox height reduces.

      Debug Information

      • the only difference between these 2 groupboxes is title.

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d