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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.1
    • 6.5.0
    • None
    • Chrome Version 23.0.1271.91
      Firefox 17.0

      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>
      

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

              Created:
              Updated:
              Resolved: