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

Height calculation error when using vFlex = "min" in hlayout and borderlayout

XMLWordPrintable

      Steps to Reproduce

      run the following ZUL file

      <zk>
          <hlayout hflex="1" vflex="1">
                  <borderlayout vflex="min" hflex="1" >
                      <north vflex="min">
                          <div vflex="min" style="background:yellow;">
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                              <span>01234567890</span>
                              <span>11234567890</span>
                              <span>21234567890</span>
                          </div>
                      </north>
                  </borderlayout>
          </hlayout>
      </zk>
      
      

      Current Result

      The height is not correct

      Expected Result

      The height is one-line height

      Debug Information

      might be word-wrap issue

      Workaround

            DevChu DevChu
            DevChu DevChu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: