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

XMLWordPrintable

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

      Chrome Version 23.0.1271.91
      Firefox 17.0

    • None

      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>
      

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

              Created:
              Updated:
              Resolved: