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

Caption control wrong image with toolbarbutton

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 5.0.11
    • 5.0.8
    • Components
    • None

      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>
      

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

              Created:
              Updated:
              Resolved: