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

Issue with toolbar and hflex= 1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 6.5.4
    • 6.5.3
    • ZK Client Engine
    • IE and Firefox on Windows 7
      other ?

    • None

      <zk>
      <window id="win" title="Window" border="normal" width="600px">
      <toolbar mold="panel" align="center" vflex="1" hflex="1">
      <toolbarbutton label="Left"/>
      </toolbar>
      </window>
      </zk>

      This simple program bring client error on Firefox and IE, because one of client components is null and the style attribute cannot be resolved.
      In zk.wpd

      setFlexSizeW_:function(e,a,c,b){if(this._orient=="horizontal"){var d=this.$n("cave");e.style.width=d.style.width=jq.px(....

      "d" is null

      If i remove hflex="1" for toolbar component, all is OK.

            jumperchen jumperchen
            khcyt khcyt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: