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

Caption control wrong image with toolbarbutton

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 5.0.8
    • Fix Version/s: 5.0.11
    • Component/s: Components
    • Labels:
      None

      Description

      Try the code below in zksandbox, set the image of caption will effect the image of toolbarbutton

      <zk>
        <window id="testWindow" title="Testing" border="normal">
          <caption id="focusCaption" image="">
            
            <toolbarbutton
              image="img/battery.gif" />
          </caption>
          <button id="showYellowSmiley" label="Show image" onClick='focusCaption.setImage("img/defender.gif");' />
        </window>
      </zk>
      

        Attachments

          Activity

            People

            Assignee:
            benbai benbai
            Reporter:
            benbai benbai
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: