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

Change Panel button settings during maximize event will cause Panel not resize properly.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.5.1
    • Component/s: None
    • Labels:
    • Environment:

      Chrome Version 23.0.1271.91
      Firefox 17.0

      Description

      Changing panel button during maximize event, setClosable() for example, panel will not resize back when restore from maximized.

      <zk>
        <zscript><![CDATA[
          void onMaximize() {
            if (panel.isMaximized()) {
              panel.setClosable(false);
            } else {
              panel.setClosable(true);
            }
          }
        ]]></zscript>
      	<panel id="panel" title="Bug" border="normal" width="300px" height="200px" minimizable="true" collapsible="true" closable="true" maximizable="true" onMaximize="onMaximize()">
      		<panelchildren></panelchildren>
      	</panel>
      </zk>
      

        Attachments

          Activity

            People

            Assignee:
            vincentjian vincentjian
            Reporter:
            rangilin rangilin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: