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

Window fire unexpected onMaximize event

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.9
    • 5.0.8
    • None
    • None

      as code below, window fire 'onMaximize' event while button clicked.

      <zk>
             <label id="lb" value="nothing happened" />
             <window id="win" title="test win" minimizable="true" closable="true" maximizable="true" maximized="true">
                     <attribute name="onMaximize">
                             lb.setValue("oops, test win maximized!");
                     </attribute>
                     <attribute name="onCreate">
                             win.setMaximizable(false);
                     </attribute>
             </window>
             <button label="set test win maximizable" onClick="win.setMaximizable(true);" />
      </zk>
      

            benbai benbai
            jimmyshiau jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h