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

Issue with toolbar and hflex= 1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 6.5.3
    • Fix Version/s: 6.5.4
    • Component/s: ZK Client Engine
    • Labels:
    • Environment:

      IE and Firefox on Windows 7
      other ?

      Description

      <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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: