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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 9.0.0, 8.6.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: