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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.5.8.1, 9.0.0, 8.6.4
    • Fix Version/s: 9.5.1
    • Component/s: Components
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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